aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2013-02-08 16:21:33 +0000
committerAaron W. Swenson <titanofold@gentoo.org>2013-02-08 16:21:33 +0000
commitd3f88fdad62f0bfe1ffb435b9ba3f070fa10e938 (patch)
treedf75fe14316611fe58b7dd1da0276d72d8127e39
parentSocket directory can be /run or /var/run now. (diff)
downloadpatches-9.0.tar.gz
patches-9.0.tar.bz2
patches-9.0.zip
Default to /run/postgresql.patches-9.0
-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 491698b..370f868 100644
--- a/base.patch
+++ b/base.patch
@@ -120,7 +120,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@@RUNDIR@/run/postgresql"
++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/run/postgresql"
/*
* The random() function is expected to yield values between 0 and
diff --git a/server.patch b/server.patch
index 11cb2cb..c81e4bf 100644
--- a/server.patch
+++ b/server.patch
@@ -141,7 +141,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@@RUNDIR@/run/postgresql"
++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/run/postgresql"
/*
* The random() function is expected to yield values between 0 and