postgresql/src/fe_utils
Masahiko Sawada 4ecdd4110d 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
2025-03-12 16:56:04 -07:00
..
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
archive.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
astreamer_file.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
astreamer_gzip.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
astreamer_lz4.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
astreamer_tar.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
astreamer_zstd.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
cancel.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
conditional.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
connect_utils.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
Makefile Drop warning-free support for Flex 2.5.35 2025-01-15 15:35:08 +01:00
mbprint.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
meson.build Drop warning-free support for Flex 2.5.35 2025-01-15 15:35:08 +01:00
option_utils.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
parallel_slot.c Fix grammatical typos around possessive "its" 2025-01-29 14:39:14 +07:00
print.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
psqlscan.l Get rid of O(N^2) script-parsing overhead in pgbench. 2025-02-27 10:53:38 -05:00
query_utils.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
recovery_gen.c pg_rewind: Add dbname to primary_conninfo when using --write-recovery-conf. 2025-03-12 16:56:04 -07:00
simple_list.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
string_utils.c In fmtIdEnc(), handle failure of enlargePQExpBuffer(). 2025-02-16 12:46:35 -05:00