HAVE_WORKING_LINK still needed?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема HAVE_WORKING_LINK still needed?
Дата
Msg-id 72fff73f-dc9c-4ef4-83e8-d2e60c98df48@2ndquadrant.com
обсуждение исходный текст
Ответы Re: HAVE_WORKING_LINK still needed?  (Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>)
Re: HAVE_WORKING_LINK still needed?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: HAVE_WORKING_LINK still needed?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
I came across the HAVE_WORKING_LINK define in pg_config_manual.h. 
AFAICT, hard links are supported on Windows and Cygwin in the OS 
versions that we support, and pg_upgrade already contains the required 
shim.  It seems to me we could normalize and simplify that, as in the 
attached patches.  (Perhaps rename durable_link_or_rename() then.)  I 
successfully tested on MSVC, MinGW, and Cygwin.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Add PostgreSQL home page to --help output
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: more ALTER .. DEPENDS ON EXTENSION fixes