Skip site navigation (1) Skip section navigation (2)

pgsql: In pg_upgrade, add various logging improvements:

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In pg_upgrade, add various logging improvements:
Date: 2012-03-12 23:48:06
Message-ID: E1S7EyE-0002Cr-Gn@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/717f6d60859cc2d1d7dfd57520531a50bd78df9c

Modified Files
--------------
contrib/pg_upgrade/check.c           |   26 ++++----
contrib/pg_upgrade/controldata.c     |    4 +-
contrib/pg_upgrade/dump.c            |   20 ++++---
contrib/pg_upgrade/exec.c            |   23 +++++--
contrib/pg_upgrade/file.c            |   16 +++++
contrib/pg_upgrade/function.c        |    5 +-
contrib/pg_upgrade/info.c            |   20 +++---
contrib/pg_upgrade/option.c          |  100 ++++++++++-------------------
contrib/pg_upgrade/pg_upgrade.c      |  116 +++++++++++++++++++++------------
contrib/pg_upgrade/pg_upgrade.h      |   60 +++++++++++-------
contrib/pg_upgrade/relfilenode.c     |    4 +-
contrib/pg_upgrade/server.c          |   19 ++++--
contrib/pg_upgrade/util.c            |   16 ++---
contrib/pg_upgrade/version.c         |    5 +-
contrib/pg_upgrade/version_old_8_3.c |   34 ++++------
doc/src/sgml/pgupgrade.sgml          |   27 +++------
16 files changed, 259 insertions(+), 236 deletions(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2012-03-13 13:39:12
Subject: pgsql: pgstattuple: Add new error case for spgist indexes.
Previous:From: Tom LaneDate: 2012-03-12 20:10:39
Subject: pgsql: Fix SPGiST vacuum algorithm to handle concurrent tuple motionpr

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group