mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
If an error occurs in the foreground (backup) process of pg_basebackup, and we exit in a controlled way, the background process (streaming xlog process) would stay around and keep streaming.
15 lines
320 B
C
15 lines
320 B
C
#include "libpq-fe.h"
|
|
|
|
extern const char *progname;
|
|
extern char *connection_string;
|
|
extern char *dbhost;
|
|
extern char *dbuser;
|
|
extern char *dbport;
|
|
extern int dbgetpassword;
|
|
extern char *replication_slot;
|
|
|
|
/* Connection kept global so we can disconnect easily */
|
|
extern PGconn *conn;
|
|
|
|
extern PGconn *GetConnection(void);
|