]> granicus.if.org Git - postgresql/commit
pg_upgrade: conditionally create cluster delete script
authorBruce Momjian <bruce@momjian.us>
Thu, 14 Feb 2013 15:53:03 +0000 (10:53 -0500)
committerBruce Momjian <bruce@momjian.us>
Thu, 14 Feb 2013 15:53:03 +0000 (10:53 -0500)
commit4765dd79219b9697d84f5c2c70f3fe00455609a1
treeb3f47f66a635f42fd1eb0e861ef0e96797450e14
parent74205266d4925b54bf1d77bae7b0e7f60f68840a
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.
contrib/pg_upgrade/check.c