postgresql/src/bin
Heikki Linnakangas d7eb76b908 Disable synchronous commits in pg_rewind.
If you point pg_rewind to a server that is using synchronous replication,
with "pg_rewind --source-server=...", and the replication is not working
for some reason, pg_rewind will get stuck because it creates a temporary
table, which needs to be replicated. You could call broken replication a
pilot error, but pg_rewind is often used in special circumstances, when
there are changes to the replication setup.

We don't do any "real" updates, and we don't care about fsyncing or
replicating the operations on the temporary tables, so fix that by
setting synchronous_commit off.

Michael Banck, Michael Paquier. Backpatch to 9.5, where pg_rewind was
introduced.

Discussion: <20161005143938.GA12247@nighthawk.caipicrew.dd-dns.de>
2016-10-06 13:24:46 +03:00
..
initdb Move fsync routines of initdb into src/common/ 2016-09-29 12:00:00 -04:00
pg_archivecleanup Fix a bunch of places that called malloc and friends with no NULL check. 2016-08-30 18:22:43 -04:00
pg_basebackup Avoid leaking FDs after an fsync failure. 2016-10-02 12:33:46 -04: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 Fix CRC check handling in get_controlfile 2016-09-28 12:00:00 -04:00
pg_dump Add ALTER EXTENSION ADD/DROP ACCESS METHOD, and use it in pg_upgrade. 2016-10-02 14:31:28 -04:00
pg_resetxlog Translation updates 2016-08-08 11:08:00 -04:00
pg_rewind Disable synchronous commits in pg_rewind. 2016-10-06 13:24:46 +03:00
pg_test_fsync Move pg_test_fsync from contrib/ to src/bin/ 2015-04-19 22:20:49 -04:00
pg_test_timing Move pg_test_timing from contrib/ to src/bin/ 2015-04-20 21:30:12 -04:00
pg_upgrade Enforce a specific order for probing library loadability in pg_upgrade. 2016-10-03 10:07:49 -04:00
pg_xlogdump Retry opening new segments in pg_xlogdump --folllow 2016-09-30 11:22:00 +02:00
pgbench Fix newly-introduced issues in pgbench. 2016-09-26 20:23:50 -04:00
pgevent Update copyright for 2016 2016-01-02 13:33:40 -05:00
psql Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04: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