mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Add pg_recvlogical, a tool to receive data logical decoding data.
This is fairly basic at the moment, but it's at least useful for testing and debugging, and possibly more. Andres Freund
This commit is contained in:
@@ -5,6 +5,7 @@ extern char *connection_string;
|
||||
extern char *dbhost;
|
||||
extern char *dbuser;
|
||||
extern char *dbport;
|
||||
extern char *dbname;
|
||||
extern int dbgetpassword;
|
||||
extern char *replication_slot;
|
||||
|
||||
@@ -12,3 +13,12 @@ extern char *replication_slot;
|
||||
extern PGconn *conn;
|
||||
|
||||
extern PGconn *GetConnection(void);
|
||||
|
||||
extern int64 feGetCurrentTimestamp(void);
|
||||
extern void feTimestampDifference(int64 start_time, int64 stop_time,
|
||||
long *secs, int *microsecs);
|
||||
|
||||
extern bool feTimestampDifferenceExceeds(int64 start_time, int64 stop_time,
|
||||
int msec);
|
||||
extern void fe_sendint64(int64 i, char *buf);
|
||||
extern int64 fe_recvint64(char *buf);
|
||||
|
||||
Reference in New Issue
Block a user