pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove durable_rename_excl()
Date: Thu, 28 Apr 2022 02:12:42 +0000
Message-ID: <E1njte5-001TVV-Pz@gemulon.postgresql.org> (raw)

Remove durable_rename_excl()

ccfbd92 has replaced all existing in-core callers of this function in
favor of durable_rename().  durable_rename_excl() is by nature unsafe on
crashes happening at the wrong time, so just remove it.

Author: Nathan Bossart
Reviewed-by: Robert Haas, Kyotaro Horiguchi, Michael Paquier
Discussion: https://postgr.es/m/20220407182954.GA1231544@nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2c902bbf1911a3c3dd68b817209eca9be81e381c

Modified Files
--------------
src/backend/storage/file/fd.c  | 63 ------------------------------------------
src/include/pg_config_manual.h |  7 -----
src/include/storage/fd.h       |  1 -
3 files changed, 71 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1njte5-001TVV-Pz@gemulon.postgresql.org>
Permalink:  ../E1njte5-001TVV-Pz@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1njte5-001TVV-Pz@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: michael@paquier.xyz
  Subject: Re: pgsql: Remove durable_rename_excl()
  In-Reply-To: <E1njte5-001TVV-Pz@gemulon.postgresql.org>
  References: <E1njte5-001TVV-Pz@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