pg_upgrade: conditionally create cluster delete script

Bruce Momjian <bruce@momjian.us>

Commit: 4765dd79219b9697d84f5c2c70f3fe00455609a1
Author: Bruce Momjian <bruce@momjian.us>
Date: 2013-02-14T15:53:03Z
Releases: 9.3.0
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.

Files

PathChange+/−
contrib/pg_upgrade/check.c modified +37 −6