about summary refs log tree commit diff
path: root/pkgs/servers/sql/postgresql/patches/socketdir-in-run.patch
blob: 4932ef69ee3605978d4f2376530247d8ac5e203d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/include/pg_config_manual.h
+++ b/src/include/pg_config_manual.h
@@ -179,7 +179,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"
 
 /*
  * This is the default event source for Windows event log.