pgsql: pg_upgrade: throw an error for non-existent tablespace director

Started by Bruce Momjianover 12 years ago1 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

pg_upgrade: throw an error for non-existent tablespace directories

Non-existent tablespace directory references can occur if user
tablespaces are created inside data directories and the data directory
is renamed in preparation for running pg_upgrade, and the symbolic links
are not updated.

Backpatch to 9.3.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/071d9f085089f3fbae1b472debd38c555cd4a436

Modified Files
--------------
contrib/pg_upgrade/tablespace.c | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers