diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2013-02-08 16:25:27 +0000 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2013-02-08 16:25:27 +0000 |
commit | 3eff8e13a41b2efa8a42a71ea012ac334bc2272f (patch) | |
tree | 6a34eb16dfbe7d7720c66cbf2a3c54097fbccd9b | |
parent | Socket directory can be /run or /var/run now. (diff) | |
download | patches-8.3.tar.gz patches-8.3.tar.bz2 patches-8.3.zip |
Default to /run/postgresqlpatches-8.3
-rw-r--r-- | base.patch | 2 | ||||
-rw-r--r-- | server.patch | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |