postgresql: update to version 13.0
[feed/packages.git] / libs / postgresql / patches / 900-pg_ctl-setuid.patch
index 48575777cd4d7b574ae87c2295eb6c665f62fda7..8203fbf1dbda8e662655c75966af948ae1066d75 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/bin/pg_ctl/pg_ctl.c
 +++ b/src/bin/pg_ctl/pg_ctl.c
-@@ -93,6 +93,7 @@ static char *event_source = NULL;
+@@ -94,6 +94,7 @@ static char *event_source = NULL;
  static char *register_servicename = "PostgreSQL";     /* FIXME: + version ID? */
  static char *register_username = NULL;
  static char *register_password = NULL;
@@ -8,7 +8,7 @@
  static char *argv0 = NULL;
  static bool allow_core_files = false;
  static time_t start_time;
-@@ -2082,6 +2083,9 @@ do_help(void)
+@@ -2055,6 +2056,9 @@ do_help(void)
  #endif
        printf(_("  -s, --silent           only print errors, no informational messages\n"));
        printf(_("  -t, --timeout=SECS     seconds to wait when using -w option\n"));
@@ -18,7 +18,7 @@
        printf(_("  -V, --version          output version information, then exit\n"));
        printf(_("  -w, --wait             wait until operation completes (default)\n"));
        printf(_("  -W, --no-wait          do not wait until operation completes\n"));
-@@ -2294,6 +2298,7 @@ main(int argc, char **argv)
+@@ -2267,6 +2271,7 @@ main(int argc, char **argv)
                {"options", required_argument, NULL, 'o'},
                {"silent", no_argument, NULL, 's'},
                {"timeout", required_argument, NULL, 't'},
@@ -26,7 +26,7 @@
                {"core-files", no_argument, NULL, 'c'},
                {"wait", no_argument, NULL, 'w'},
                {"no-wait", no_argument, NULL, 'W'},
-@@ -2334,20 +2339,6 @@ main(int argc, char **argv)
+@@ -2307,20 +2312,6 @@ main(int argc, char **argv)
                }
        }
  
@@ -47,7 +47,7 @@
  
        env_wait = getenv("PGCTLTIMEOUT");
        if (env_wait != NULL)
-@@ -2434,11 +2425,15 @@ main(int argc, char **argv)
+@@ -2407,11 +2398,15 @@ main(int argc, char **argv)
                                        wait_seconds_arg = true;
                                        break;
                                case 'U':
@@ -63,7 +63,7 @@
                                        break;
                                case 'w':
                                        do_wait = true;
-@@ -2520,6 +2515,41 @@ main(int argc, char **argv)
+@@ -2493,6 +2488,41 @@ main(int argc, char **argv)
                exit(1);
        }