summarylogtreecommitdiffstats
path: root/postgresql-run-socket.patch
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql-run-socket.patch')
-rw-r--r--postgresql-run-socket.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/postgresql-run-socket.patch b/postgresql-run-socket.patch
index 22eac302922a..6f9b0b5d2c7e 100644
--- a/postgresql-run-socket.patch
+++ b/postgresql-run-socket.patch
@@ -2,11 +2,11 @@ diff -Naur postgresql-9.2.0.sockets/src/include/pg_config_manual.h postgresql-9.
--- 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
@@ -203,7 +203,7 @@
+ * support them yet.
+ */
#ifndef WIN32
- #define DEFAULT_PGSOCKET_DIR "/tmp"
+-#define DEFAULT_PGSOCKET_DIR "/tmp"
++#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
#else
--#define DEFAULT_PGSOCKET_DIR ""
-+#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
+ #define DEFAULT_PGSOCKET_DIR ""
#endif
-
- /*