aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2011-11-30 21:31:20 -0500
committerAaron W. Swenson <titanofold@gentoo.org>2011-11-30 21:31:20 -0500
commitab2dc62ea4f42622ead3f37a3e0d418931280acc (patch)
tree6b2e898cc949a3acdda376600fa520804a89f8d3
parentbool.patch to fix PPC{,64} defining it to . . . something. pg_ctl-exit-status... (diff)
downloadpatches-ab2dc62ea4f42622ead3f37a3e0d418931280acc.tar.gz
patches-ab2dc62ea4f42622ead3f37a3e0d418931280acc.tar.bz2
patches-ab2dc62ea4f42622ead3f37a3e0d418931280acc.zip
Socket directory can be /run or /var/run now.
-rw-r--r--base.patch2
-rw-r--r--server.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/base.patch b/base.patch
index 3acefd3..d235f80 100644
--- a/base.patch
+++ b/base.patch
@@ -135,7 +135,7 @@ diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
* with the postmaster's -k switch.
*/
-#define DEFAULT_PGSOCKET_DIR "/tmp"
-+#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/var/run/postgresql"
++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@@RUNDIR@/run/postgresql"
/*
* The random() function is expected to yield values between 0 and
diff --git a/server.patch b/server.patch
index 4366c2b..901ff5f 100644
--- a/server.patch
+++ b/server.patch
@@ -167,7 +167,7 @@ diff -Naur a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
* with the postmaster's -k switch.
*/
-#define DEFAULT_PGSOCKET_DIR "/tmp"
-+#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/var/run/postgresql"
++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@@RUNDIR@/run/postgresql"
/*
* The random() function is expected to yield values between 0 and