]> TLD Linux GIT Repositories - packages/postgresql.git/blobdiff - socket-dir-fixes.patch
- updated to 16.2
[packages/postgresql.git] / socket-dir-fixes.patch
index 5b63aba4f760f4f97f046c84c04b4bdd0ba6c35a..6b0f67c87f0751484a1bc75a5b1e112846c7cf42 100644 (file)
@@ -1,9 +1,10 @@
---- postgresql-15.2/src/bin/pg_upgrade/option.c        2023-03-07 23:37:50.271950638 +0100
-+++ postgresql-15.2/src/bin/pg_upgrade/option.c        2023-03-07 23:40:28.343899006 +0100
-@@ -445,8 +445,14 @@
+diff -ur postgresql-16.1.orig/src/bin/pg_upgrade/option.c postgresql-16.1/src/bin/pg_upgrade/option.c
+--- postgresql-16.1.orig/src/bin/pg_upgrade/option.c   2023-11-06 23:04:27.000000000 +0100
++++ postgresql-16.1/src/bin/pg_upgrade/option.c        2023-12-13 21:51:21.445407619 +0100
+@@ -456,8 +456,14 @@
  get_sock_dir(ClusterInfo *cluster, bool live_check)
  {
- #if defined(HAVE_UNIX_SOCKETS) && !defined(WIN32)
+ #if !defined(WIN32)
 -      if (!live_check)
 +      if (!live_check) {
                cluster->sockdir = user_opts.socketdir;
        else
        {
                /*
---- postgresql-15.2/src/include/pg_config_manual.h     2023-03-07 23:37:50.153949183 +0100
-+++ postgresql-15.2/src/include/pg_config_manual.h     2023-03-07 23:38:28.898426739 +0100
-@@ -224,7 +224,7 @@
+diff -ur postgresql-16.1.orig/src/include/pg_config_manual.h postgresql-16.1/src/include/pg_config_manual.h
+--- postgresql-16.1.orig/src/include/pg_config_manual.h        2023-11-06 23:04:27.000000000 +0100
++++ postgresql-16.1/src/include/pg_config_manual.h     2023-12-13 21:49:50.563249439 +0100
+@@ -206,7 +206,7 @@
   * support them yet.
   */
  #ifndef WIN32