pgsql: pg_upgrade: conditionally create cluster delete script

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_upgrade: conditionally create cluster delete script
Date: 2013-02-14 15:53:07
Message-ID: E1U617T-0007Ks-TL@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_upgrade: conditionally create cluster delete script

If users create tablespaces inside the old cluster directory, it is
impossible for the delete script to delete _only_ the old cluster files,
so don't create a script in that case, and issue a message to the user.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4765dd79219b9697d84f5c2c70f3fe00455609a1

Modified Files
--------------
contrib/pg_upgrade/check.c | 43 +++++++++++++++++++++++++++++++++++++------
1 files changed, 37 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-02-15 01:35:18 pgsql: Invent pre-commit/pre-prepare/pre-subcommit events for xact call
Previous Message Heikki Linnakangas 2013-02-14 08:25:07 Re: [COMMITTERS] pgsql: Create libpgcommon, and move pg_malloc et al to it