postgresql/src/bin
Fujii Masao ecbdc4c555 Forbid invalid combination of options in pg_basebackup.
Commit 56c7d8d455 allowed pg_basebackup
to stream WAL in tar mode. But there is the restriction that WAL
streaming in tar mode works only when the value - (dash) is not
specified as output directory. This means that the combination of
three options "-D -", "-F t" and "-X stream" is invalid. However,
previously, even when those options were specified at the same time,
pg_basebackup background process unexpectedly started streaming WAL.
And then it exited with an error.

This commit changes pg_basebackup so that it errors out on such
invalid combination of options at the beginning.

Reviewed by Magnus Hagander, and patch by me.
2016-12-21 20:27:37 +09:00
..
initdb Bring some clarity to the defaults for the xxx_flush_after parameters. 2016-11-25 18:36:10 -05:00
pg_archivecleanup pg_archivecleanup: Add NLS 2016-11-04 10:40:05 -04:00
pg_basebackup Forbid invalid combination of options in pg_basebackup. 2016-12-21 20:27:37 +09:00
pg_config Translation updates 2016-08-08 11:08:00 -04:00
pg_controldata Fix CRC check handling in get_controlfile 2016-09-28 12:00:00 -04:00
pg_ctl pg_ctl: Add long option for -o 2016-10-19 08:48:48 -04:00
pg_dump Add pg_sequence system catalog 2016-12-20 08:28:18 -05:00
pg_resetxlog Reduce the default for max_worker_processes back to 8. 2016-12-05 10:53:21 -05:00
pg_rewind pg_rewing pg_upgrade: Fix translation markers 2016-11-07 09:31:26 -05:00
pg_test_fsync pg_test_fsync: Add NLS 2016-11-04 10:40:05 -04:00
pg_test_timing pg_test_timing: Add NLS 2016-11-04 10:40:05 -04:00
pg_upgrade pg_upgrade: Upgrade sequence data via pg_dump 2016-11-13 21:44:58 -05:00
pg_xlogdump pg_xlogdump: Add NLS 2016-11-04 10:40:05 -04:00
pgbench pgbench: Increase maximum size of log filename from 64 to MAXPGPATH. 2016-11-15 09:11:51 -05:00
pgevent Update copyright for 2016 2016-01-02 13:33:40 -05:00
psql psql: Fix incorrect version check for table partitining. 2016-12-12 11:57:58 -05:00
scripts Include <sys/select.h> where needed 2016-09-27 01:05:21 -03:00
Makefile Update copyright for 2016 2016-01-02 13:33:40 -05:00