pg_upgrade: throw an error for non-existent tablespace directories

Bruce Momjian <bruce@momjian.us>

Commit: c1275cf74172cd0ed478dbc31e34e2ffffc6e789
Author: Bruce Momjian <bruce@momjian.us>
Date: 2014-04-17T15:42:21Z
Releases: 9.4.0
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.

Files

PathChange+/−
contrib/pg_upgrade/tablespace.c modified +32 −0