PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | StreamCtl |
Typedefs | |
typedef bool(* | stream_stop_callback) (XLogRecPtr segendpos, uint32 timeline, bool segment_finished) |
typedef struct StreamCtl | StreamCtl |
Functions | |
bool | CheckServerVersionForStreaming (PGconn *conn) |
bool | ReceiveXlogStream (PGconn *conn, StreamCtl *stream) |
typedef bool(* stream_stop_callback) (XLogRecPtr segendpos, uint32 timeline, bool segment_finished) |
Definition at line 23 of file receivelog.h.
Definition at line 375 of file receivelog.c.
References conn, pg_log_error, PQparameterStatus(), and PQserverVersion().
Referenced by BaseBackup(), ReceiveXlogStream(), and StreamLog().
Definition at line 453 of file receivelog.c.
References CheckServerVersionForStreaming(), WalWriteMethodOps::close, CLOSE_NO_RENAME, conn, error(), existsTimeLineHistoryFile(), GetLastWalMethodError(), HandleCopyStream(), lastFlushPosition, LSN_FORMAT_ARGS, WalWriteMethod::ops, Walfile::pathname, pg_free(), pg_log_error, pg_log_warning, PGRES_COMMAND_OK, PGRES_COPY_BOTH, PGRES_TUPLES_OK, PQclear(), PQexec(), PQgetResult(), PQgetvalue(), PQnfields(), PQntuples(), PQresultErrorMessage(), PQresultStatus(), ReadEndOfStreamingResult(), StreamCtl::replication_slot, reportFlushPosition, res, RunIdentifySystem(), snprintf, sprintf, StreamCtl::startpos, StreamCtl::stream_stop, StreamCtl::synchronous, StreamCtl::sysidentifier, StreamCtl::timeline, walfile, StreamCtl::walmethod, WalSegSz, writeTimeLineHistoryFile(), and XLogSegmentOffset.
Referenced by LogStreamerMain(), and StreamLog().