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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 30e1442) | patch
Allow dbname to be written as part of connstring via pg_basebackup's -R option.
2024年3月21日 05:18:59 +0000 (10:48 +0530)
2024年3月21日 05:20:33 +0000 (10:50 +0530)
commit a145f424d5248a09d766e8cb503b999290cb3b31
Allow dbname to be written as part of connstring via pg_basebackup's -R option.

Commit cca97ce6a665 allowed dbname in pg_basebackup connstring and in this
commit we allow it to be written in postgresql.auto.conf when -R option is
used. The database name in the connection string will be used by the
logical replication slot synchronization on standby.

The dbname will be recorded only if specified explicitly in the connection
string or environment variable.

Masahiko Sawada hasn't reviewed the code in detail but endorsed the idea.

Author: Vignesh C, Kuroda Hayato
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CAB8KJ=hdKdg+UeXhReeHpHA6N6v3e0qFF+ZsPFHk9_ThWKf=2A@mail.gmail.com
doc/src/sgml/ref/pg_basebackup.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_basebackup/t/010_pg_basebackup.pl diff | blob | blame | history
src/bin/pg_rewind/pg_rewind.c 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 によって変換されたページ (->オリジナル) /