information about range types
- |
- pg_rewrite
- query rewrite rules
-
-
|
pg_replication_origin
registered replication origins
|
- pg_replication_origin_status
- information about replication origins, including replication progress
-
-
- |
- pg_replication_slots
- replication slot information
+ pg_rewrite
+ query rewrite rules
|
+
+
pg_replication_origin
+
+
+
+
+ The pg_replication_origin catalog contains
+ all replication origins created. For more on replication origins
+ see .
+
+
+
+
+
pg_replication_origin Columns
+
+
+
+ |
+ Name
+ Type
+ References
+ Description
+
+
+
+
+ |
+ roident
+ Oid
+
+ A unique, cluster-wide identifier for the replication
+ origin. Should never leave the system.
+
+
+ |
+ roname
+ text
+
+ The external, user defined, name of a replication
+ origin.
+
+
+
+
+
+
pg_rewrite
-
-
pg_replication_origin
-
-
-
-
- The pg_replication_origin catalog contains
- all replication origins created. For more on replication origins
- see .
-
-
-
-
-
pg_replication_origin Columns
-
-
-
- |
- Name
- Type
- References
- Description
-
-
-
-
- |
- roident
- Oid
-
- A unique, cluster-wide identifier for the replication
- origin. Should never leave the system.
-
-
- |
- roname
- text
-
- The external, user defined, name of a replication
- origin.
-
-
-
-
-
-
-
-
pg_replication_origin_status
-
-
-
pg_replication_origin_status
-
-
- The pg_replication_origin_status view
- contains information about how far replay for a certain origin has
- progressed. For more on replication origins
- see .
-
-
-
-
-
pg_replication_origin_status Columns
-
-
-
- |
- Name
- Type
- References
- Description
-
-
-
-
- |
- local_id
- Oid
- pg_replication_origin .roident
- internal node identifier
-
-
- |
- external_id
- text
- pg_replication_origin .roname
- external node identifier
-
-
- |
- remote_lsn
- pg_lsn
-
- The origin node's LSN up to which data has been replicated.
-
-
-
- |
- local_lsn
- pg_lsn
-
-
- This node's LSN at which remote_lsn has
- been replicated. Used to flush commit records before persisting
- data to disk when using asynchronous commits.
-
-
-
-
-
-
-
-
-
pg_replication_slots
-
-
-
-
- The pg_replication_slots view provides a listing
- of all replication slots that currently exist on the database cluster,
- along with their current state.
-
-
- For more on replication slots,
- see and .
-
-
-
-
-
pg_replication_slots Columns
-
-
-
- |
- Name
- Type
- References
- Description
-
-
-
-
- |
- slot_name
- name
-
- A unique, cluster-wide identifier for the replication slot
-
-
- |
- plugin
- name
-
- The base name of the shared object containing the output plugin this logical slot is using, or null for physical slots.
-
-
- |
- slot_type
- text
-
- The slot type - physical> or logical>
-
-
- |
- datoid
- oid
- pg_database .oid
- The OID of the database this slot is associated with, or
- null. Only logical slots have an associated database.
-
-
- |
- database
- text
- pg_database .datname
- The name of the database this slot is associated with, or
- null. Only logical slots have an associated database.
-
-
- |
- active
- boolean
-
- True if this slot is currently actively being used
-
-
- |
- active_pid
- integer
-
- The process ID of the session using this slot if the slot
- is currently actively being used. NULL if
- inactive.
-
-
-
- |
- xmin
- xid
-
- The oldest transaction that this slot needs the database to
- retain. VACUUM cannot remove tuples deleted
- by any later transaction.
-
-
-
- |
- catalog_xmin
- xid
-
- The oldest transaction affecting the system catalogs that this
- slot needs the database to retain. VACUUM cannot
- remove catalog tuples deleted by any later transaction.
-
-
-
- |
- restart_lsn
- pg_lsn
-
- The address (LSN ) of oldest WAL which still
- might be required by the consumer of this slot and thus won't be
- automatically removed during checkpoints.
-
-
-
-
-
-
-
pg_seclabel
prepared transactions
+ |
+ pg_replication_origin_status
+ information about replication origins, including replication progress
+
+
+ |
+ pg_replication_slots
+ replication slot information
+
+
|
pg_roles
database roles
+
+
pg_replication_origin_status
+
+
+
pg_replication_origin_status
+
+
+ The pg_replication_origin_status view
+ contains information about how far replay for a certain origin has
+ progressed. For more on replication origins
+ see .
+
+
+
+
+
pg_replication_origin_status Columns
+
+
+
+ |
+ Name
+ Type
+ References
+ Description
+
+
+
+
+ |
+ local_id
+ Oid
+ pg_replication_origin .roident
+ internal node identifier
+
+
+ |
+ external_id
+ text
+ pg_replication_origin .roname
+ external node identifier
+
+
+ |
+ remote_lsn
+ pg_lsn
+
+ The origin node's LSN up to which data has been replicated.
+
+
+ |
+ local_lsn
+ pg_lsn
+
+
+ This node's LSN at which remote_lsn has
+ been replicated. Used to flush commit records before persisting
+ data to disk when using asynchronous commits.
+
+
+
+
+
+
+
+
+
pg_replication_slots
+
+
+
+
+ The pg_replication_slots view provides a listing
+ of all replication slots that currently exist on the database cluster,
+ along with their current state.
+
+
+ For more on replication slots,
+ see and .
+
+
+
+
+
pg_replication_slots Columns
+
+
+
+ |
+ Name
+ Type
+ References
+ Description
+
+
+
+
+ |
+ slot_name
+ name
+
+ A unique, cluster-wide identifier for the replication slot
+
+
+ |
+ plugin
+ name
+
+ The base name of the shared object containing the output plugin this logical slot is using, or null for physical slots.
+
+
+ |
+ slot_type
+ text
+
+ The slot type - physical> or logical>
+
+
+ |
+ datoid
+ oid
+ pg_database .oid
+ The OID of the database this slot is associated with, or
+ null. Only logical slots have an associated database.
+
+
+ |
+ database
+ text
+ pg_database .datname
+ The name of the database this slot is associated with, or
+ null. Only logical slots have an associated database.
+
+
+ |
+ active
+ boolean
+
+ True if this slot is currently actively being used
+
+
+ |
+ active_pid
+ integer
+
+ The process ID of the session using this slot if the slot
+ is currently actively being used. NULL if
+ inactive.
+
+
+
+ |
+ xmin
+ xid
+
+ The oldest transaction that this slot needs the database to
+ retain. VACUUM cannot remove tuples deleted
+ by any later transaction.
+
+
+
+ |
+ catalog_xmin
+ xid
+
+ The oldest transaction affecting the system catalogs that this
+ slot needs the database to retain. VACUUM cannot
+ remove catalog tuples deleted by any later transaction.
+
+
+
+ |
+ restart_lsn
+ pg_lsn
+
+ The address (LSN ) of oldest WAL which still
+ might be required by the consumer of this slot and thus won't be
+ automatically removed during checkpoints.
+
+
+
+
+
+
+
+
pg_roles
-->
Report the processes holding replication slots in
- linkend="catalog -pg-replication-slots">pg_replication_slots>>
+ linkend="view -pg-replication-slots">pg_replication_slots>>
(Craig Ringer)
pg_replication_origin_xact_setup() .
If that's done replication progress will persist in a crash safe
manner. Replay progress for all replication origins can be seen in the
- catalog-pg-replication-origin-status">
+ view-pg-replication-origin-status">
pg_replication_origin_status
view. An individual origin's progress, e.g. when resuming
replication, can be acquired using