pgsql: Avoid using readlink() on platforms that don't support it

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Avoid using readlink() on platforms that don't support it
Дата
Msg-id E1RYFXu-0003WS-QM@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid using readlink() on platforms that don't support it

We don't have any such platforms now, but might in the future.

Also, detect cases when a tablespace symlink points to a path that
is longer than we can handle, and give a warning.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9c32da5caa2efc9bdc7f04ae26488211ff219e8a

Modified Files
--------------
src/backend/replication/basebackup.c |   25 ++++++++++++++++++++++---
1 files changed, 22 insertions(+), 3 deletions(-)


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Remove spclocation field from pg_tablespace
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Avoid using readlink() on platforms that don't support it