summaryrefslogtreecommitdiff
path: root/src/include/pg_config_manual.h
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-07-05 12:54:25 +0900
committerMichael Paquier <michael@paquier.xyz>2022-07-05 12:54:25 +0900
commiteb64ceac7ec3422f2370b8824dce62ee8fe52dca (patch)
tree63917652b45362f3de03b38d8d0c1f4c50d9faa3 /src/include/pg_config_manual.h
parentdac1ff30906b9cef7859380905d038892b32968b (diff)
Remove durable_rename_excl()
A previous commit replaced all the calls to this function with durable_rename() as of dac1ff3, making it used nowhere in the tree. Using it in extension code is also risky based on the issues described in this previous commit, so let's remove it. This makes possible the removal of HAVE_WORKING_LINK. Author: Nathan Bossart Reviewed-by: Robert Haas, Kyotaro Horiguchi, Michael Paquier Discussion: https://postgr.es/m/20220407182954.GA1231544@nathanxps13
Diffstat (limited to 'src/include/pg_config_manual.h')
-rw-r--r--src/include/pg_config_manual.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
index 8d2e3e3a57d..5ee2c462674 100644
--- a/src/include/pg_config_manual.h
+++ b/src/include/pg_config_manual.h
@@ -153,13 +153,6 @@
#endif
/*
- * Define this if your operating system supports link()
- */
-#if !defined(WIN32) && !defined(__CYGWIN__)
-#define HAVE_WORKING_LINK 1
-#endif
-
-/*
* USE_POSIX_FADVISE controls whether Postgres will attempt to use the
* posix_fadvise() kernel call. Usually the automatic configure tests are
* sufficient, but some older Linux distributions had broken versions of