From 3eff8e13a41b2efa8a42a71ea012ac334bc2272f Mon Sep 17 00:00:00 2001 From: "Aaron W. Swenson" Date: Fri, 8 Feb 2013 16:25:27 +0000 Subject: Default to /run/postgresql --- base.patch | 2 +- server.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base.patch b/base.patch index 7be62b5..635dd61 100644 --- a/base.patch +++ b/base.patch @@ -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 -- cgit v1.2.3-65-gdbad