select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / STATISTICS VIEWS

pg_stat_subscription

Read PG 18 manual ↗

Kind
Statistics views
Columns in this snapshot
11
Definition source
English manual

Columns 11

ColumnTypeDescription / reference
subidoidOID of the subscription
subnamenameName of the subscription
worker_typetextType of the subscription worker process. Possible types are apply, parallel apply, and table synchronization.
pidintegerProcess ID of the subscription worker process
leader_pidintegerProcess ID of the leader apply worker if this process is a parallel apply worker; NULL if this process is a leader apply worker or a table synchronization worker
relidoidOID of the relation that the worker is synchronizing; NULL for the leader apply worker and parallel apply workers
received_lsnpg_lsnLast write-ahead log location received, the initial value of this field being 0; NULL for parallel apply workers
last_msg_send_timetimestamp with time zoneSend time of last message received from origin WAL sender; NULL for parallel apply workers
last_msg_receipt_timetimestamp with time zoneReceipt time of last message received from origin WAL sender; NULL for parallel apply workers
latest_end_lsnpg_lsnLast write-ahead log location reported to origin WAL sender; NULL for parallel apply workers
latest_end_timetimestamp with time zoneTime of last write-ahead log location reported to origin WAL sender; NULL for parallel apply workers
Column history across versions
Version history 7
  1. PG 18 → 19changed
  2. PG 16 → 17changed
  3. PG 15 → 16changed
  4. PG 14 → 15changed
  5. PG 12 → 13changed
  6. PG 11 → 12changed
  7. PG 9.6 → 10added

Definition snapshot: english-manuals:3e51854e252cec778a43a56c47c… · English manual source