postgresql/src/bin
Alvaro Herrera 9d23a70d51 pg_dump: get rid of die_horribly
The old code was using exit_horribly or die_horribly other depending on
whether it had an ArchiveHandle on which to close the connection or not;
but there were places that were passing a NULL ArchiveHandle to
die_horribly, and other places that used exit_horribly while having an
AH available.  So there wasn't all that much consistency.

Improve the situation by keeping only one of the routines, and instead
of having to pass the AH down from the caller, arrange for it to be
present for an on_exit_nicely callback to operate on.

Author: Joachim Wieland
Some tweaks by me

Per a suggestion from Robert Haas, in the ongoing "parallel pg_dump"
saga.
2012-03-20 18:58:00 -03:00
..
initdb initdb: Add options --auth-local and --auth-host 2012-02-01 21:18:55 +02:00
pg_basebackup Fix incorrect uses of gzFile 2012-03-02 22:30:01 +02:00
pg_config Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pg_controldata Move CRC tables to libpgport, and provide them in a separate include file. 2012-02-28 19:53:39 -05:00
pg_ctl Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pg_dump pg_dump: get rid of die_horribly 2012-03-20 18:58:00 -03:00
pg_resetxlog Move CRC tables to libpgport, and provide them in a separate include file. 2012-02-28 19:53:39 -05:00
pgevent Revert binary change in copyright year adjustment. 2012-01-01 19:42:07 -05:00
psql psql: Remove inappropriate const qualifiers 2012-03-16 20:35:00 +02:00
scripts createuser: Disable prompting by default 2012-02-07 14:55:34 +02:00
Makefile Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00