postgresql/src/bin/pg_combinebackup
Michael Paquier ff9e1e764f Add option force_initdb to PostgreSQL::Test::Cluster:init()
This option is useful to bypass the default behavior of init() which
would create the data folder of a new cluster by copying it from a
template previously initdb'd, if any.  Copying the data folder is much
cheaper than running initdb, but some tests may want to force that.  For
example, one scenario of pg_combinebackup updated in this commit needs a
different system ID for two nodes.

Previously, this could only be achieved by unsetting
$ENV{'INITDB_TEMPLATE'}, which could become a problem in complex node
setups by making tests less efficient.

Author: Amul Sul
Reviewed-by: Robert Haas, Michael Paquier
Discussion: https://postgr.es/m/Zc1tX9lLonLGu6oH@paquier.xyz
2024-02-21 13:28:51 +09:00
..
po Update copyright for 2024 2024-01-03 20:49:05 -05:00
t Add option force_initdb to PostgreSQL::Test::Cluster:init() 2024-02-21 13:28:51 +09:00
.gitignore pg_combinebackup's .gitignore file is incomplete. 2023-12-21 11:50:41 -05:00
Makefile Update copyright for 2024 2024-01-03 20:49:05 -05:00
backup_label.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
backup_label.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
copy_file.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
copy_file.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
load_manifest.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
load_manifest.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls.mk
pg_combinebackup.c Repair various defects in dc21234005. 2024-01-11 13:06:10 -05:00
reconstruct.c Repair various defects in dc21234005. 2024-01-11 13:06:10 -05:00
reconstruct.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
write_manifest.c Repair various defects in dc21234005. 2024-01-11 13:06:10 -05:00
write_manifest.h Update copyright for 2024 2024-01-03 20:49:05 -05:00