| /*------------------------------------------------------------------------- | |
| * | |
| * Generator for recovery configuration | |
| * | |
| * Portions Copyright (c) 2011-2023, PostgreSQL Global Development Group | |
| * | |
| * src/include/fe_utils/recovery_gen.h | |
| * | |
| *------------------------------------------------------------------------- | |
| */ | |
| /* | |
| * recovery configuration is part of postgresql.conf in version 12 and up, and | |
| * in recovery.conf before that. | |
| */ | |
| extern PQExpBuffer GenerateRecoveryConfig(PGconn *pgconn, | |
| char *replication_slot); | |
| extern void WriteRecoveryConfig(PGconn *pgconn, char *target_dir, | |
| PQExpBuffer contents); | |