Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
50.52. pg_subscription
Prev UpChapter 50. System CatalogsHome Next

50.52. pg_subscription

The catalogpg_subscription contains all existing logical replication subscriptions. For more information about logical replication seeChapter 30.

Unlike most system catalogs,pg_subscription is shared across all databases of a cluster: there is only one copy ofpg_subscription per cluster, not one per database.

Access to the columnsubconninfo is revoked from normal users, because it could contain plain-text passwords.

Table 50.52. pg_subscription Columns

NameTypeReferencesDescription
oidoid Row identifier (hidden attribute; must be explicitly selected)
subdbidoidpg_database.oidOID of the database which the subscription resides in
subnamename Name of the subscription
subowneroidpg_authid.oidOwner of the subscription
subenabledbool If true, the subscription is enabled and should be replicating.
subsynccommittext  Contains the value of thesynchronous_commit setting for the subscription workers.
subconninfotext Connection string to the upstream database
subslotnamename Name of the replication slot in the upstream database (also used for the local replication origin name); null representsNONE
subpublicationstext[] Array of subscribed publication names. These reference the publications on the publisher server. For more on publications seeSection 30.1.


Prev Up Next
50.51. pg_statistic_ext Home 50.53. pg_subscription_rel
epubpdf
Go to Postgres Pro Standard 11
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp