diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2011-11-30 21:31:20 -0500 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2011-11-30 21:31:20 -0500 |
commit | ab2dc62ea4f42622ead3f37a3e0d418931280acc (patch) | |
tree | 6b2e898cc949a3acdda376600fa520804a89f8d3 | |
parent | bool.patch to fix PPC{,64} defining it to . . . something. pg_ctl-exit-status... (diff) | |
download | patches-ab2dc62ea4f42622ead3f37a3e0d418931280acc.tar.gz patches-ab2dc62ea4f42622ead3f37a3e0d418931280acc.tar.bz2 patches-ab2dc62ea4f42622ead3f37a3e0d418931280acc.zip |
Socket directory can be /run or /var/run now.
-rw-r--r-- | base.patch | 2 | ||||
-rw-r--r-- | server.patch | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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@/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 4366c2b..901ff5f 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@/var/run/postgresql" ++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@@RUNDIR@/run/postgresql" /* * The random() function is expected to yield values between 0 and |