PostgreSQL Source Code: ReplicationState Struct Reference (original) (raw)
Data Fields | |
---|---|
RepOriginId | roident |
XLogRecPtr | remote_lsn |
XLogRecPtr | local_lsn |
int | acquired_by |
ConditionVariable | origin_cv |
LWLock | lock |
Detailed Description
Definition at line 109 of file origin.c.
Field Documentation
◆ acquired_by
int ReplicationState::acquired_by
Definition at line 131 of file origin.c.
Referenced by ReplicationOriginExitCleanup(), replorigin_advance(), replorigin_session_reset(), and replorigin_session_setup().
◆ local_lsn
XLogRecPtr ReplicationState::local_lsn
Definition at line 126 of file origin.c.
Referenced by CheckPointReplicationOrigin(), replorigin_advance(), replorigin_session_advance(), replorigin_session_get_progress(), and replorigin_session_setup().
◆ lock
LWLock ReplicationState::lock
Definition at line 141 of file origin.c.
Referenced by CheckPointReplicationOrigin(), replorigin_advance(), replorigin_session_advance(), and replorigin_session_get_progress().
◆ origin_cv
ConditionVariable ReplicationState::origin_cv
Definition at line 136 of file origin.c.
Referenced by ReplicationOriginExitCleanup(), replorigin_session_reset(), and replorigin_session_setup().
◆ remote_lsn
XLogRecPtr ReplicationState::remote_lsn
Definition at line 119 of file origin.c.
Referenced by CheckPointReplicationOrigin(), replorigin_advance(), replorigin_session_advance(), replorigin_session_get_progress(), replorigin_session_setup(), and StartupReplicationOrigin().
◆ roident
RepOriginId ReplicationState::roident
Definition at line 114 of file origin.c.
Referenced by CheckPointReplicationOrigin(), replorigin_advance(), replorigin_session_advance(), replorigin_session_setup(), and StartupReplicationOrigin().
The documentation for this struct was generated from the following file:
- src/backend/replication/logical/origin.c