- Don't create a unix domain socket under /tmp anymore.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql16?expand=0&rev=4
This commit is contained in:
Reinhard Max 2023-08-07 15:18:00 +00:00 committed by Git OBS Bridge
parent 3cade82d6c
commit d99baaaa74
2 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,5 @@
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
This is to resolve communication problems with clients operating
under systemd's PrivateTmp environment, which won't be using the same
global /tmp directory as the server; see bug #825448.
@ -22,7 +20,7 @@ Index: src/include/pg_config_manual.h
*/
#ifndef WIN32
-#define DEFAULT_PGSOCKET_DIR "/tmp"
+#define DEFAULT_PGSOCKET_DIR "/run/postgresql, /tmp"
+#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
#else
#define DEFAULT_PGSOCKET_DIR ""
#endif

View File

@ -2,6 +2,7 @@
Mon Aug 7 13:08:04 UTC 2023 - Reinhard Max <max@suse.com>
- Copy postgresql15 to postgresql16 and upgrade to v16beta2.
- Don't create a unix domain socket under /tmp anymore.
-------------------------------------------------------------------
Fri May 26 11:48:38 UTC 2023 - Reinhard Max <max@suse.com>