diff options
author | Amit Kapila <akapila@postgresql.org> | 2025-03-28 12:26:39 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2025-03-28 12:26:39 +0530 |
commit | fb2ea12f42b9453853be043b8ed107e136e1ccb7 (patch) | |
tree | 883577e3fdf4417f80006447288cfe05a818bb94 /src/backend/parser/parse_utilcmd.c | |
parent | 890fc826c91f153ae8c084d3a008f91798495b13 (diff) | |
download | postgresql-fb2ea12f42b9453853be043b8ed107e136e1ccb7.tar.gz postgresql-fb2ea12f42b9453853be043b8ed107e136e1ccb7.zip |
pg_createsubscriber: Add '--all' option.
The '--all' option indicates that the tool queries the source server
(publisher) for all databases and creates subscriptions on the target
server (subscriber) for databases with matching names. Without this user
needs to explicitly specify all databases by using -d option for each
database.
This simplifies converting a physical standby to a logical subscriber,
particularly during upgrades.
The options '--database', '--publication', '--subscription', and
'--replication-slot' cannot be used when '--all' is specified.
Author: Shubham Khanna <khannashubham1197@gmail.com>
Reviewed-by: vignesh C <vignesh21@gmail.com>
Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Reviewed-by: Euler Taveira <euler@eulerto.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Reviewed-by: Peter Smith <smithpb2250@gmail.com>
Reviewed-by: Shlok Kyal <shlok.kyal.oss@gmail.com>
Discussion: https://postgr.es/m/CAHv8RjKhA=_h5vAbozzJ1Opnv=KXYQHQ-fJyaMfqfRqPpnC2bA@mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions