aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2013-02-08 16:19:40 +0000
committerAaron W. Swenson <titanofold@gentoo.org>2013-02-08 16:19:40 +0000
commit14f4b33e323b39305999f2df66064b4c5b9720dd (patch)
tree2803f39da85ba30638422580ec03af48e522e1d7
parentSocket directory can be /run or /var/run now. (diff)
downloadpatches-9.1.tar.gz
patches-9.1.tar.bz2
patches-9.1.zip
Default to /run/postgresql.patches-9.1
-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 3d43225..5235890 100644
--- a/base.patch
+++ b/base.patch
@@ -125,7 +125,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 a9e7ce9..1fc8dca 100644
--- a/server.patch
+++ b/server.patch
@@ -153,7 +153,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