summaryrefslogtreecommitdiffstats
path: root/abs/extra/postgresql/postgresql-run-socket.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-02 23:35:59 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-02 23:35:59 (GMT)
commitfd8405efa6e0c17c9e666f5ea8584039f31a5168 (patch)
tree641cafbb31cb0387ac10b0641427d850d15a4b93 /abs/extra/postgresql/postgresql-run-socket.patch
parent1577770bf29c22dd1a2e14c055b5af2f1408eb39 (diff)
downloadlinhes_pkgbuild-fd8405efa6e0c17c9e666f5ea8584039f31a5168.zip
linhes_pkgbuild-fd8405efa6e0c17c9e666f5ea8584039f31a5168.tar.gz
linhes_pkgbuild-fd8405efa6e0c17c9e666f5ea8584039f31a5168.tar.bz2
postgresql: update to 10.2
Diffstat (limited to 'abs/extra/postgresql/postgresql-run-socket.patch')
-rw-r--r--abs/extra/postgresql/postgresql-run-socket.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra/postgresql/postgresql-run-socket.patch b/abs/extra/postgresql/postgresql-run-socket.patch
new file mode 100644
index 0000000..b558c7b
--- /dev/null
+++ b/abs/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