]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Remove more progname references in vacuumdb.c
authorMichael Paquier <michael@paquier.xyz>
Tue, 23 Jul 2019 05:29:34 +0000 (14:29 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 23 Jul 2019 05:29:34 +0000 (14:29 +0900)
Oversight in 5f384037.

Author: Álvaro Herrera
Discussion: https://postgr.es/m/20190722151806.GA22634@alvherre.pgsql

src/bin/scripts/vacuumdb.c

index d3ee0da917b2e6cba5ee49c95c0d5453b5b319d2..d81bfa3a6b4688e01a2aa374cfce34e8f138b6ec 100644 (file)
@@ -57,7 +57,7 @@ static void prepare_vacuum_command(PQExpBuffer sql, int serverVersion,
                                                                   vacuumingOptions *vacopts, const char *table);
 
 static void run_vacuum_command(PGconn *conn, const char *sql, bool echo,
-                                                          const char *table, const char *progname);
+                                                          const char *table);
 
 static void help(const char *progname);
 
@@ -646,7 +646,7 @@ vacuum_one_database(const char *dbname, vacuumingOptions *vacopts,
                 * through ParallelSlotsGetIdle.
                 */
                run_vacuum_command(free_slot->connection, sql.data,
-                                                  echo, tabname, progname);
+                                                  echo, tabname);
 
                cell = cell->next;
        } while (cell != NULL);
@@ -855,7 +855,7 @@ prepare_vacuum_command(PQExpBuffer sql, int serverVersion,
  */
 static void
 run_vacuum_command(PGconn *conn, const char *sql, bool echo,
-                                  const char *table, const char *progname)
+                                  const char *table)
 {
        bool            status;