about summary refs log tree commit diff
path: root/pkgs/servers/sql/postgresql/patches/socketdir-in-run-13+.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/sql/postgresql/patches/socketdir-in-run-13+.patch')
-rw-r--r--pkgs/servers/sql/postgresql/patches/socketdir-in-run-13+.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/servers/sql/postgresql/patches/socketdir-in-run-13+.patch b/pkgs/servers/sql/postgresql/patches/socketdir-in-run-13+.patch
new file mode 100644
index 0000000000000..fd808b6098249
--- /dev/null
+++ b/pkgs/servers/sql/postgresql/patches/socketdir-in-run-13+.patch
@@ -0,0 +1,11 @@
+--- a/src/include/pg_config_manual.h
++++ b/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