about summary refs log tree commit diff
path: root/pkgs/servers/sql/postgresql/patches/socketdir-in-run-13.patch
blob: 72c778b0758efaebed1bef682ffafb4116dc167f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git i/src/include/pg_config_manual.h w/src/include/pg_config_manual.h
index 8f3ec6bde1..4fc01e4a0a 100644
--- i/src/include/pg_config_manual.h
+++ w/src/include/pg_config_manual.h
@@ -201,7 +201,7 @@
  * support them yet.
  */
 #ifndef WIN32
-#define DEFAULT_PGSOCKET_DIR  "/tmp"
+#define DEFAULT_PGSOCKET_DIR  "/run/postgresql"
 #else
 #define DEFAULT_PGSOCKET_DIR ""
 #endif