diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2013-02-08 16:21:33 +0000 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2013-02-08 16:21:33 +0000 |
commit | d3f88fdad62f0bfe1ffb435b9ba3f070fa10e938 (patch) | |
tree | df75fe14316611fe58b7dd1da0276d72d8127e39 | |
parent | Socket directory can be /run or /var/run now. (diff) | |
download | patches-9.0.tar.gz patches-9.0.tar.bz2 patches-9.0.zip |
Default to /run/postgresql.patches-9.0
-rw-r--r-- | base.patch | 2 | ||||
-rw-r--r-- | server.patch | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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@@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 11cb2cb..c81e4bf 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@@RUNDIR@/run/postgresql" ++#define DEFAULT_PGSOCKET_DIR "@GENTOO_PORTAGE_EPREFIX@/run/postgresql" /* * The random() function is expected to yield values between 0 and |