aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2013-02-08 16:23:26 +0000
committerAaron W. Swenson <titanofold@gentoo.org>2013-02-08 16:23:26 +0000
commita1d26f6942fcd5701a15f91654f3688155931371 (patch)
tree65cce71b4ed5f66b6a45959649825188489dad82
parentSocket directory can be /run or /var/run now. (diff)
downloadpatches-8.4.tar.gz
patches-8.4.tar.bz2
patches-8.4.zip
Default to /run/postgresqlpatches-8.4
-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 d235f80..f148635 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@@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 901ff5f..1db3051 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@@RUNDIR@/run/postgresql"
++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/run/postgresql"
/*
* The random() function is expected to yield values between 0 and