summarylogtreecommitdiffstats
path: root/postgresql-run-socket.patch
diff options
context:
space:
mode:
authorGoliathLabs2020-04-25 15:05:10 +0200
committerGoliathLabs2020-04-25 15:05:10 +0200
commitae8c0e38f317cb30f6d435f9617523144979b8c9 (patch)
treec711bbd98268cce13ffc664a06c49327de467521 /postgresql-run-socket.patch
parent04197d00fc586527cbca4cc5fcbefcad8f271588 (diff)
downloadaur-ae8c0e38f317cb30f6d435f9617523144979b8c9.tar.gz
Updated: patch & pkgver
Diffstat (limited to 'postgresql-run-socket.patch')
-rw-r--r--postgresql-run-socket.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/postgresql-run-socket.patch b/postgresql-run-socket.patch
index b558c7b74961..de5045b330f7 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.
+@@ -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