summarylogtreecommitdiffstats
path: root/postgresql-run-socket.patch
diff options
context:
space:
mode:
authorGreg White2020-09-24 11:23:44 -0400
committerGreg White2020-09-24 11:23:44 -0400
commitf4b1dd2592a5a7c8ed4bc6d9cf677877ce62a095 (patch)
tree46155e32ed378e28454289b8e330185ed982bf76 /postgresql-run-socket.patch
parentfe24fbe6559ddb603f032c5af37cffd95520c77a (diff)
downloadaur-f4b1dd2592a5a7c8ed4bc6d9cf677877ce62a095.tar.gz
Fix patch for 13.0
Diffstat (limited to 'postgresql-run-socket.patch')
-rw-r--r--postgresql-run-socket.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/postgresql-run-socket.patch b/postgresql-run-socket.patch
index b558c7b74961..22eac302922a 100644
--- a/postgresql-run-socket.patch
+++ b/postgresql-run-socket.patch
@@ -1,12 +1,12 @@
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.
- */
--#define DEFAULT_PGSOCKET_DIR "/tmp"
-+#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
+@@ -203,7 +203,7 @@
+ #ifndef WIN32
+ #define DEFAULT_PGSOCKET_DIR "/tmp"
+ #else
+-#define DEFAULT_PGSOCKET_DIR ""
++#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
+ #endif
/*
- * The random() function is expected to yield values between 0 and