pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove HAVE_WORKING_LINK
Date: Wed, 11 Mar 2020 10:24:55 +0000
Message-ID: <E1jByXn-0006ny-5H@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1jByXn-0006ny-5H@gemulon.postgresql.org>
Permalink:  ../E1jByXn-0006ny-5H@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jByXn-0006ny-5H@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Remove HAVE_WORKING_LINK
  In-Reply-To: <E1jByXn-0006ny-5H@gemulon.postgresql.org>
  References: <E1jByXn-0006ny-5H@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox