summaryrefslogtreecommitdiff
path: root/extra/postgresql/postgresql-run-socket.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-22 01:08:23 -0700
committerroot <root@rshg054.dnsready.net>2012-10-22 01:08:23 -0700
commit99746708edfd2c56f2ba654a14f27e98b1601a43 (patch)
treec54c0eba66ad0190e1be5b54fbdb73b875936943 /extra/postgresql/postgresql-run-socket.patch
parent80b6d46a5c9da3f9d0db207d9d0adc265899a915 (diff)
Mon Oct 22 01:08:14 PDT 2012
Diffstat (limited to 'extra/postgresql/postgresql-run-socket.patch')
-rw-r--r--extra/postgresql/postgresql-run-socket.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/postgresql/postgresql-run-socket.patch b/extra/postgresql/postgresql-run-socket.patch
new file mode 100644
index 000000000..b558c7b74
--- /dev/null
+++ b/extra/postgresql/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