pgsql: Remove durable_rename_excl()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove durable_rename_excl()
Date: 2022-04-28 02:12:42
Message-ID: E1njte5-001TVV-Pz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2022-04-28 02:31:18 pgsql: Fix SQL syntax in comment in logical/worker.c
Previous Message Andres Freund 2022-04-28 01:31:34 Re: Unstable tests for recovery conflict handling