aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2011-11-30 21:34:09 -0500
committerAaron W. Swenson <titanofold@gentoo.org>2011-11-30 21:34:09 -0500
commit057c9b2972c4e5d90bb6d93db1f942e98f1bee04 (patch)
tree078b0c6a8cf42319bddc6f57031b670da1f12470
parentbool.patch to fix PPC{,64} defining it to . . . something. pg_ctl-exit-status... (diff)
downloadpatches-057c9b2972c4e5d90bb6d93db1f942e98f1bee04.tar.gz
patches-057c9b2972c4e5d90bb6d93db1f942e98f1bee04.tar.bz2
patches-057c9b2972c4e5d90bb6d93db1f942e98f1bee04.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 45ecda3..491698b 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@/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 2c8cc6a..11cb2cb 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@/var/run/postgresql"
++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@@RUNDIR@/run/postgresql"
/*
* The random() function is expected to yield values between 0 and