↑↓ select ↵ open ⌫ change scope Open full search

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

System Catalogs / System catalogs

pg_subscription_rel

Read the PG 18 manual

The catalog pg_subscription_rel contains the state for each replicated relation in each subscription.

Reading PG 18current·documented in 11 of 24 versions, 10 to 20

Kind
System catalogs
Columns in this snapshot
4
Definition source
English manual
Metadata snapshot
18.6

Columns 4

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
srsubidoidNOT NULLReference to subscription
pg_subscription.oid
srrelidoidNOT NULLReference to relation
pg_class.oid
srsubstatecharNOT NULLState code: i = initialize, d = data is being copied, f = finished table copy, s = synchronized, r = ready (normal replication)
srsublsnpg_lsnRemote LSN of the state change used for synchronization coordination when in s or r states, otherwise null
Column history across versions
Version history 4
  1. 18 → 19 reworded
  2. 13 → 14 reworded
  3. 12 → 13 changed
  4. 9.6 → 10 added

Definition snapshot: english-manuals:d60d3256d3581ba8337460aea26… · English manual source