Remove spclocation field from pg_tablespace

Magnus Hagander <magnus@hagander.net>

Commit: 16d8e594acd96661267cb7897834f9cba51a2ffd
Author: Magnus Hagander <magnus@hagander.net>
Date: 2011-12-07T09:37:33Z
Releases: 9.2.0
Remove spclocation field from pg_tablespace

Instead, add a function pg_tablespace_location(oid) used to return
the same information, and do this by reading the symbolic link.

Doing it this way makes it possible to relocate a tablespace when the
database is down by simply changing the symbolic link.

Files