|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Macros | |
| #define | MINIMUM_VERSION_FOR_RECOVERY_GUC 120000 |
Functions | |
| PQExpBuffer | GenerateRecoveryConfig (PGconn *pgconn, const char *replication_slot, char *dbname) |
| void | WriteRecoveryConfig (PGconn *pgconn, const char *target_dir, PQExpBuffer contents) |
| char * | GetDbnameFromConnectionOptions (const char *connstr) |
| #define MINIMUM_VERSION_FOR_RECOVERY_GUC 120000 |
Definition at line 21 of file recovery_gen.h.
|
extern |
Definition at line 28 of file recovery_gen.c.
References appendConnStrVal(), appendPQExpBuffer(), appendPQExpBufferChar(), appendPQExpBufferStr(), Assert, createPQExpBuffer(), dbname, escape_quotes(), fb(), free, initPQExpBuffer(), _PQconninfoOption::keyword, MINIMUM_VERSION_FOR_RECOVERY_GUC, pg_fatal, PQconninfo(), PQconninfoFree(), PQExpBufferBroken, PQExpBufferDataBroken, PQserverVersion(), replication_slot, and termPQExpBuffer().
Referenced by BaseBackup(), main(), and setup_recovery().
Definition at line 204 of file recovery_gen.c.
References connstr, dbname, fb(), FindDbnameInConnOpts(), pg_fatal, PQconndefaults(), PQconninfoFree(), and PQconninfoParse().
Referenced by BaseBackup(), and main().
|
extern |
Definition at line 125 of file recovery_gen.c.
References Assert, PQExpBufferData::data, fb(), filename, PQExpBufferData::len, MAXPGPATH, MINIMUM_VERSION_FOR_RECOVERY_GUC, pg_fatal, PQserverVersion(), and snprintf.
Referenced by main(), and setup_recovery().