pg_upgrade: throw an error for non-existent tablespace directories
authorBruce Momjian <bruce@momjian.us>
Thu, 17 Apr 2014 15:42:21 +0000 (11:42 -0400)
committerBruce Momjian <bruce@momjian.us>
Thu, 17 Apr 2014 15:42:21 +0000 (11:42 -0400)
commitc1275cf74172cd0ed478dbc31e34e2ffffc6e789
tree4ebe12e3e654baa2bbbca19e7365dc3927279b13
parent52e757420fa98a76015c2c88432db94269f3e8f4
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.
contrib/pg_upgrade/tablespace.c