postgresql/src/bin/pg_dump
Heikki Linnakangas 7800a71291 Move some pg_dump function around.
Move functions used only by pg_dump and pg_restore from dumputils.c to a new
file, pg_backup_utils.c. dumputils.c is linked into psql and some programs
in bin/scripts, so it seems good to keep it slim. The parallel functionality
is moved to parallel.c, as is exit_horribly, because the interesting code in
exit_horribly is parallel-related.

This refactoring gets rid of the on_exit_msg_func function pointer. It was
problematic, because a modern gcc version with -Wmissing-format-attribute
complained if it wasn't marked with PF_PRINTF_ATTRIBUTE, but the ancient gcc
version that Tom Lane's old HP-UX box has didn't accept that attribute on a
function pointer, and gave an error. We still use a similar function pointer
trick for getLocalPQBuffer() function, to use a thread-local version of that
in parallel mode on Windows, but that dodges the problem because it doesn't
take printf-like arguments.
2013-03-27 18:10:40 +02:00
..
po Translation updates 2011-08-17 14:07:46 +03:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
common.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
compress_io.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
compress_io.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
dumputils.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
dumputils.h Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
keywords.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
Makefile Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
nls.mk Add fe_memutils.c to nls.mk where used 2013-03-06 23:45:16 -05:00
parallel.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
parallel.h Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_backup_archiver.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_backup_archiver.h Fix some unportable constructs in parallel pg_dump code. 2013-03-24 15:35:37 -04:00
pg_backup_custom.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_backup_db.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_backup_db.h pg_dump: Further reduce reliance on global variables. 2012-02-07 10:07:02 -05:00
pg_backup_directory.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_backup_null.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_backup_tar.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_backup_tar.h Fix tar files emitted by pg_dump and pg_basebackup to be POSIX conformant. 2012-09-28 15:19:15 -04:00
pg_backup_utils.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_backup_utils.h Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_backup.h Add parallel pg_dump option. 2013-03-24 11:27:20 -04:00
pg_dump_sort.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_dump.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_dump.h Add parallel pg_dump option. 2013-03-24 11:27:20 -04:00
pg_dumpall.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00
pg_restore.c Move some pg_dump function around. 2013-03-27 18:10:40 +02:00