pgsql: Fix tablespace creation WAL replay to work on Windows.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix tablespace creation WAL replay to work on Windows.
Дата
Msg-id E1WWGzy-0004w5-Kq@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix tablespace creation WAL replay to work on Windows.

The code segment that removes the old symlink (if present) wasn't clued
into the fact that on Windows, symlinks are junction points which have
to be removed with rmdir().

Backpatch to 9.0, where the failing code was introduced.

MauMau, reviewed by Muhammad Asif Naeem and Amit Kapila

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/af7738fe6a33523916a58ac7b276f9467566a439

Modified Files
--------------
src/backend/commands/tablespace.c |   33 +++++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 8 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Allow "-C variable" and "--describe-config" even to root users.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix tablespace creation WAL replay to work on Windows.