diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2011-11-30 21:34:09 -0500 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2011-11-30 21:34:09 -0500 |
commit | 057c9b2972c4e5d90bb6d93db1f942e98f1bee04 (patch) | |
tree | 078b0c6a8cf42319bddc6f57031b670da1f12470 | |
parent | bool.patch to fix PPC{,64} defining it to . . . something. pg_ctl-exit-status... (diff) | |
download | patches-057c9b2972c4e5d90bb6d93db1f942e98f1bee04.tar.gz patches-057c9b2972c4e5d90bb6d93db1f942e98f1bee04.tar.bz2 patches-057c9b2972c4e5d90bb6d93db1f942e98f1bee04.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
@@ -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 |