SYSTEM CATALOGS / SYSTEM CATALOGS
pg_subscription_rel
Read PG 18 manual ↗The catalog pg_subscription_rel contains the state for each replicated relation in each subscription.
- Kind
- System catalogs
- Columns in this snapshot
- 4
- Definition source
- English manual
Columns 4
| Column | Type | Description / reference |
|---|---|---|
srsubid | oid | Reference to subscription pg_subscription.oid |
srrelid | oid | Reference to relation pg_class.oid |
srsubstate | char | State code: i = initialize, d = data is being copied, f = finished table copy, s = synchronized, r = ready (normal replication) |
srsublsn | pg_lsn | Remote LSN of the state change used for synchronization coordination when in s or r states, otherwise null |
Column history across versions
Version history 3
- PG 18 → 19changed
- PG 13 → 14changed
- PG 9.6 → 10added
Definition snapshot: english-manuals:6361fe0b58345b7301d2d5513c5… · English manual source