postgresql/src/bin
Tom Lane 763eec6b6d Clean up some minor inefficiencies in parallel dump/restore.
Parallel dump did a totally pointless query to find out the name of each
table to be dumped, which it already knows.  Parallel restore runs issued
lots of redundant SET commands because _doSetFixedOutputState() was invoked
once per TOC item rather than just once at connection start.  While the
extra queries are insignificant if you're dumping or restoring large
tables, it still seems worth getting rid of them.

Also, give the responsibility for selecting the right client_encoding for
a parallel dump worker to setup_connection() where it naturally belongs,
instead of having ad-hoc code for that in CloneArchive().  And fix some
minor bugs like use of strdup() where pg_strdup() would be safer.

Back-patch to 9.3, mostly to keep the branches in sync in an area that
we're still finding bugs in.

Discussion: <5086.1464793073@sss.pgh.pa.us>
2016-06-01 16:14:21 -04:00
..
initdb Fix typo in TAP test identification string. 2016-05-23 20:04:27 -04:00
pg_archivecleanup Make WAL-related utilities handle .partial WAL files properly. 2015-07-03 11:53:58 +09:00
pg_basebackup Translation updates 2016-05-09 10:04:41 -04:00
pg_config Translation updates 2016-05-09 10:04:41 -04:00
pg_controldata Translation updates 2016-05-09 10:04:41 -04:00
pg_ctl Translation updates 2016-05-09 10:04:41 -04:00
pg_dump Clean up some minor inefficiencies in parallel dump/restore. 2016-06-01 16:14:21 -04:00
pg_resetxlog Translation updates 2016-05-09 10:04:41 -04:00
pg_rewind Translation updates 2016-05-09 10:04:41 -04: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 Fix pg_upgrade to not fail when new-cluster TOAST rules differ from old. 2016-05-06 22:05:56 -04:00
pg_xlogdump Generic Messages for Logical Decoding 2016-04-06 10:05:41 +01:00
pgbench Fix pgbench's parsing of double values to notice trailing garbage. 2016-05-06 11:08:48 -04:00
pgevent Update copyright for 2016 2016-01-02 13:33:40 -05:00
psql psql: Message style improvements 2016-05-21 22:17:00 -04:00
scripts Translation updates 2016-05-09 10:04:41 -04:00
Makefile Update copyright for 2016 2016-01-02 13:33:40 -05:00