pgsql: Remove HAVE_WORKING_LINK - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove HAVE_WORKING_LINK
Date
Msg-id E1jByXn-0006ny-5H@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove HAVE_WORKING_LINK

Previously, hard links were not used on Windows and Cygwin, but they
support them just fine in currently supported OS versions, so we can
use them there as well.

Since all supported platforms now support hard links, we can remove
the alternative code paths.

Rename durable_link_or_rename() to durable_rename_excl() to make the
purpose more clear without referencing the implementation details.

Discussion: https://www.postgresql.org/message-id/flat/72fff73f-dc9c-4ef4-83e8-d2e60c98df48%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/aaa3aeddee51dd0058d38469907865052706a590

Modified Files
--------------
src/backend/access/transam/timeline.c |  4 ++--
src/backend/access/transam/xlog.c     |  4 ++--
src/backend/storage/file/fd.c         | 21 +++++----------------
src/include/pg_config_manual.h        |  7 -------
src/include/storage/fd.h              |  2 +-
5 files changed, 10 insertions(+), 28 deletions(-)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: Improve checking of child pages in contrib/amcheck.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Clean up order in miscinit.c a bit