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
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/c1275cf74172cd0ed478dbc31e34e2ffffc6e789
Modified Files
--------------
contrib/pg_upgrade/tablespace.c | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)