git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: cdc1471) | patch
pg_rewind: Add dbname to primary_conninfo when using --write-recovery-conf.
2025年3月12日 23:56:04 +0000 (16:56 -0700)
2025年3月12日 23:56:04 +0000 (16:56 -0700)
commit 4ecdd4110d5cbaf107c0c85d16df78dffe0a9574
pg_rewind: Add dbname to primary_conninfo when using --write-recovery-conf.

This commit enhances pg_rewind's --write-recovery-conf option to
include the dbname in the generated primary_conninfo value when
specified in the --source-server option. With this modification, the
rewound server can connect to the primary server without manual
configuration file modifications when sync_replication_slots is
enabled.

Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Peter Smith <smithpb2250@gmail.com>
Discussion: https://postgr.es/m/CAD21AoAkW=Ht0k9dVoBTCcqLiiZ2MXhVr+d=j2T_EZMerGrLWQ@mail.gmail.com
doc/src/sgml/ref/pg_rewind.sgml diff | blob | blame | history
src/bin/pg_basebackup/pg_basebackup.c diff | blob | blame | history
src/bin/pg_basebackup/streamutil.c diff | blob | blame | history
src/bin/pg_basebackup/streamutil.h diff | blob | blame | history
src/bin/pg_rewind/pg_rewind.c diff | blob | blame | history
src/bin/pg_rewind/t/RewindTest.pm diff | blob | blame | history
src/fe_utils/recovery_gen.c diff | blob | blame | history
src/include/fe_utils/recovery_gen.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /