Re: Have pg_basebackup write "dbname" in "primary_conninfo"?
Ajin Cherian <itsajin@gmail.com>
From: Ajin Cherian <itsajin@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: robertmhaas@gmail.com, kuroda.hayato@fujitsu.com, barwick@gmail.com, pgsql-hackers@postgresql.org
Date: 2024-02-21T03:41:59Z
Lists: pgsql-hackers
On Wed, Feb 21, 2024 at 2:04 PM Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote: > > Although I haven't looked the original thread, it seems that the > dbname is used only by pg_sync_replication_slots(). If it is true, > couldn't we make the SQL function require a database name to make a > connection, instead of requiring it in physical-replication conninfo? > > > In the original thread, the intention is to not just provide this functionality using the function pg_sync_replication_slots(), but provide a GUC option on standbys to sync logical replication slots periodically even without calling that function. This requires connecting to a database. regards, Ajin Cherian Fujitsu Australia
Commits
-
Allow dbname to be written as part of connstring via pg_basebackup's -R option.
- a145f424d524 17.0 landed
-
Allow dbname in pg_basebackup/pg_receivewal connstring
- cca97ce6a665 17.0 cited