aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2013-02-08 16:25:27 +0000
committerAaron W. Swenson <titanofold@gentoo.org>2013-02-08 16:25:27 +0000
commit3eff8e13a41b2efa8a42a71ea012ac334bc2272f (patch)
tree6a34eb16dfbe7d7720c66cbf2a3c54097fbccd9b
parentSocket directory can be /run or /var/run now. (diff)
downloadpatches-8.3.tar.gz
patches-8.3.tar.bz2
patches-8.3.zip
Default to /run/postgresqlpatches-8.3
-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 7be62b5..635dd61 100644
--- a/base.patch
+++ b/base.patch
@@ -131,7 +131,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 24b0ac4..7c6393f 100644
--- a/server.patch
+++ b/server.patch
@@ -123,7 +123,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