diff --git a/postgresql-var-run-socket.patch b/postgresql-var-run-socket.patch index 0fd5387..7fe4cd7 100644 --- a/postgresql-var-run-socket.patch +++ b/postgresql-var-run-socket.patch @@ -1,4 +1,4 @@ -Change the built-in default socket directory to be /var/run/postgresql. +Change the built-in default socket directory to be /run/postgresql. For backwards compatibility with (probably non-libpq-based) clients that might still expect to find the socket in /tmp, also create a socket in /tmp. This is to resolve communication problems with clients operating @@ -48,7 +48,7 @@ Index: src/include/pg_config_manual.h */ #ifndef WIN32 -#define DEFAULT_PGSOCKET_DIR "/tmp" -+#define DEFAULT_PGSOCKET_DIR "/var/run/postgresql" ++#define DEFAULT_PGSOCKET_DIR "/run/postgresql" #else #define DEFAULT_PGSOCKET_DIR "" #endif diff --git a/postgresql15.changes b/postgresql15.changes index ab46363..8fb1a1c 100644 --- a/postgresql15.changes +++ b/postgresql15.changes @@ -3,6 +3,7 @@ Mon May 15 14:20:25 UTC 2023 - Reinhard Max - Overhaul postgresql-README.SUSE and move it from the binary package to the noarch wrapper package. +- Change the unix domain socket location from /var/run to /run. ------------------------------------------------------------------- Tue May 9 11:07:48 UTC 2023 - Reinhard Max