summarylogtreecommitdiffstats
path: root/postgresql-run-socket.patch
diff options
context:
space:
mode:
authorGreg White2020-05-24 07:34:32 -0400
committerGreg White2020-05-24 07:34:32 -0400
commitab5cb7d428f2ed2f59401668ffff64960dbebf17 (patch)
treeb544362279a1162397013351b5d31bd5a1d9aec1 /postgresql-run-socket.patch
parentf6f54fbe2afc746c4a586275f3741686de2a7d91 (diff)
downloadaur-ab5cb7d428f2ed2f59401668ffff64960dbebf17.tar.gz
Update for 13-beta1
Diffstat (limited to 'postgresql-run-socket.patch')
-rw-r--r--postgresql-run-socket.patch17
1 files changed, 8 insertions, 9 deletions
diff --git a/postgresql-run-socket.patch b/postgresql-run-socket.patch
index b558c7b74961..67680d65f1b2 100644
--- a/postgresql-run-socket.patch
+++ b/postgresql-run-socket.patch
@@ -1,12 +1,11 @@
-diff -Naur postgresql-9.2.0.sockets/src/include/pg_config_manual.h postgresql-9.2.0/src/include/pg_config_manual.h
---- postgresql-9.2.0.sockets/src/include/pg_config_manual.h 2012-09-06 17:26:17.000000000 -0400
-+++ postgresql-9.2.0/src/include/pg_config_manual.h 2012-09-06 18:13:18.183092471 -0400
-@@ -144,7 +144,7 @@
- * here's where to twiddle it. You can also override this at runtime
- * with the postmaster's -k switch.
+--- src/include/pg_config_manual.h 2020-05-24 07:26:31.931113200 -0400
++++ src/include/pg_config_manual.h.orig 2020-05-24 07:17:33.409105276 -0400
+@@ -201,7 +201,7 @@
+ * support them yet.
*/
+ #ifndef WIN32
-#define DEFAULT_PGSOCKET_DIR "/tmp"
+#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
-
- /*
- * The random() function is expected to yield values between 0 and
+ #else
+ #define DEFAULT_PGSOCKET_DIR ""
+ #endif