summaryrefslogtreecommitdiff
path: root/src/include/storage/fd.h
diff options
context:
space:
mode:
authorMichael Paquier2022-04-28 02:10:40 +0000
committerMichael Paquier2022-04-28 02:10:40 +0000
commit2c902bbf1911a3c3dd68b817209eca9be81e381c (patch)
tree1958bc8aea510c443e643055a104dfb0264e0cca /src/include/storage/fd.h
parentccfbd9287d70038518bdd3e85d7f5fd3dd1bb880 (diff)
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
Diffstat (limited to 'src/include/storage/fd.h')
-rw-r--r--src/include/storage/fd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/storage/fd.h b/src/include/storage/fd.h
index 69549b000fa..2b4a8e0ffe8 100644
--- a/src/include/storage/fd.h
+++ b/src/include/storage/fd.h
@@ -187,7 +187,6 @@ extern void fsync_fname(const char *fname, bool isdir);
extern int fsync_fname_ext(const char *fname, bool isdir, bool ignore_perm, int elevel);
extern int durable_rename(const char *oldfile, const char *newfile, int loglevel);
extern int durable_unlink(const char *fname, int loglevel);
-extern int durable_rename_excl(const char *oldfile, const char *newfile, int loglevel);
extern void SyncDataDirectory(void);
extern int data_sync_elevel(int elevel);