X-Git-Url: https://git.tld-linux.org/?p=packages%2Fpostgresql.git;a=blobdiff_plain;f=socket-dir-fixes.patch;fp=socket-dir-fixes.patch;h=3690d568fe51613e38c451c5a8ea8b27576d179d;hp=41a857715193d8fe940776eb518b41c7482d8022;hb=1e0b71e627e8f106f0737b26f5c16806709a7dbc;hpb=c5d0e6c04658d41770b3f33a6389a778a0938d9c diff --git a/socket-dir-fixes.patch b/socket-dir-fixes.patch index 41a8577..3690d56 100644 --- a/socket-dir-fixes.patch +++ b/socket-dir-fixes.patch @@ -1,7 +1,7 @@ -diff -urpa postgresql-10.5.orig/src/bin/pg_upgrade/option.c postgresql-10.5/src/bin/pg_upgrade/option.c ---- postgresql-10.5.orig/src/bin/pg_upgrade/option.c 2018-08-22 19:57:55.237373015 +0000 -+++ postgresql-10.5/src/bin/pg_upgrade/option.c 2018-08-22 19:59:10.944372163 +0000 -@@ -474,8 +474,14 @@ +diff -urpa postgresql-13.1.orig/src/bin/pg_upgrade/option.c postgresql-13.1/src/bin/pg_upgrade/option.c +--- postgresql-13.1.orig/src/bin/pg_upgrade/option.c 2020-11-09 23:24:30.000000000 +0100 ++++ postgresql-13.1/src/bin/pg_upgrade/option.c 2020-12-03 20:58:30.431778786 +0100 +@@ -476,8 +476,14 @@ get_sock_dir(ClusterInfo *cluster, bool */ if (GET_MAJOR_VERSION(cluster->major_version) >= 901) { @@ -17,15 +17,15 @@ diff -urpa postgresql-10.5.orig/src/bin/pg_upgrade/option.c postgresql-10.5/src/ else { /* -diff -urpa postgresql-10.5.orig/src/include/pg_config_manual.h postgresql-10.5/src/include/pg_config_manual.h ---- postgresql-10.5.orig/src/include/pg_config_manual.h 2018-08-22 19:57:55.095373017 +0000 -+++ postgresql-10.5/src/include/pg_config_manual.h 2018-08-22 19:58:30.664372616 +0000 -@@ -181,7 +181,7 @@ - * here's where to twiddle it. You can also override this at runtime - * with the postmaster's -k switch. +diff -urpa postgresql-13.1.orig/src/include/pg_config_manual.h postgresql-13.1/src/include/pg_config_manual.h +--- postgresql-13.1.orig/src/include/pg_config_manual.h 2020-11-09 23:24:30.000000000 +0100 ++++ postgresql-13.1/src/include/pg_config_manual.h 2020-12-03 20:59:32.262778786 +0100 +@@ -201,7 +201,7 @@ + * support them yet. */ + #ifndef WIN32 -#define DEFAULT_PGSOCKET_DIR "/tmp" +#define DEFAULT_PGSOCKET_DIR "/var/run/postgresql" - - /* - * This is the default event source for Windows event log. + #else + #define DEFAULT_PGSOCKET_DIR "" + #endif