postgresql/src/bin
Michael Paquier d1c0b61328 pg_upgrade: Fix quoting of some arguments in pg_ctl command
The previous coding forgot to apply shell quoting to the socket
directory and the data folder, leading to failures when running
pg_upgrade.  This refactors the code generating the pg_ctl command
starting clusters to use a more correct shell quoting.  Failures are
easier to trigger in 12 and newer versions by using a value of
--socketdir that includes quotes, but it is also possible to cause
failures with quotes included in the default socket directory used by
pg_upgrade or the data folders of the clusters involved in the
upgrade.

As 9.4 is going to be EOL'd with the next minor release, nobody is
likely going to upgrade to it now so this branch is not included in the
set of branches fixed.

Author: Michael Paquier
Reviewed-by: Álvaro Herrera, Noah Misch
Backpatch-through: 9.5
2020-02-10 10:48:43 +09:00
..
initdb Remove separate files for the initial contents of pg_(sh)description 2020-01-19 13:54:58 +02:00
pg_archivecleanup Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
pg_basebackup Revert "Prevent running pg_basebackup as root" 2020-02-07 10:51:17 +09:00
pg_checksums Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_config Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_controldata Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_ctl Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_dump Add declaration-level assertions for compile-time checks 2020-02-03 14:48:42 +09:00
pg_resetwal Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_rewind Refactor XLogReadRecord(), adding XLogBeginRead() function. 2020-01-26 11:39:00 +02:00
pg_test_fsync Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
pg_test_timing Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
pg_upgrade pg_upgrade: Fix quoting of some arguments in pg_ctl command 2020-02-10 10:48:43 +09:00
pg_waldump Refactor XLogReadRecord(), adding XLogBeginRead() function. 2020-01-26 11:39:00 +02:00
pgbench pgbench: Make more debug messages use common logging API 2020-01-10 09:02:25 +09:00
pgevent Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
psql psql: Fix %w length in PROMPT2 when PROMPT1 contains a newline. 2020-02-10 13:21:26 +13:00
scripts Add --parallel option to vacuumdb command. 2020-01-29 11:08:50 +05:30
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00