summarylogtreecommitdiffstats
path: root/postgresql-run-socket.patch
diff options
context:
space:
mode:
authorcrvv2016-07-01 11:51:45 +0800
committercrvv2016-07-01 11:51:45 +0800
commitc0f9709f40d6420785f48e7657d0fd9f3bc4c631 (patch)
tree561f7dd199d04c51ececffe534f0a8debd0a1814 /postgresql-run-socket.patch
parent7eb4c6f1e89167f1360e9393a0f78718ab9fe1da (diff)
downloadaur-c0f9709f40d6420785f48e7657d0fd9f3bc4c631.tar.gz
update to postgresql 9.6beta
Diffstat (limited to 'postgresql-run-socket.patch')
-rw-r--r--postgresql-run-socket.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/postgresql-run-socket.patch b/postgresql-run-socket.patch
new file mode 100644
index 000000000000..b558c7b74961
--- /dev/null
+++ b/postgresql-run-socket.patch
@@ -0,0 +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.
+ */
+-#define DEFAULT_PGSOCKET_DIR "/tmp"
++#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
+
+ /*
+ * The random() function is expected to yield values between 0 and