]> granicus.if.org Git - postgresql/commit
In pg_upgrade, add various logging improvements:
authorBruce Momjian <bruce@momjian.us>
Mon, 12 Mar 2012 23:47:54 +0000 (19:47 -0400)
committerBruce Momjian <bruce@momjian.us>
Mon, 12 Mar 2012 23:48:03 +0000 (19:48 -0400)
commit717f6d60859cc2d1d7dfd57520531a50bd78df9c
tree93c38173182a547cce8da277f849d58a2bbdafae
parentb4af1c25bbc636379efc5d2ffb9d420765705b8a
In pg_upgrade, add various logging improvements:

add ability to control permissions of created files
have psql echo its queries for easier debugging
output four separate log files, and delete them on success
add -r/--retain option to keep log files after success
make logs file append-only
remove -g/-G/-l logging options
sugggest tailing appropriate log file on failure
enhance -v/--verbose behavior
16 files changed:
contrib/pg_upgrade/check.c
contrib/pg_upgrade/controldata.c
contrib/pg_upgrade/dump.c
contrib/pg_upgrade/exec.c
contrib/pg_upgrade/file.c
contrib/pg_upgrade/function.c
contrib/pg_upgrade/info.c
contrib/pg_upgrade/option.c
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.h
contrib/pg_upgrade/relfilenode.c
contrib/pg_upgrade/server.c
contrib/pg_upgrade/util.c
contrib/pg_upgrade/version.c
contrib/pg_upgrade/version_old_8_3.c
doc/src/sgml/pgupgrade.sgml