Обсуждение: pgsql: pg_upgrade: throw an error for non-existent tablespace director

Поиск
Список
Период
Сортировка

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

От
Bruce Momjian
Дата:
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(+)