aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-07-23 14:29:34 +0900
committerMichael Paquier <michael@paquier.xyz>2019-07-23 14:29:34 +0900
commit3cae75f4209bcbb06285544de0f1c59f717a3159 (patch)
tree5f5df8494f890e803836ef2f4258648fa1594181
parenta0555ddab9b672a04681ce0d9f6c94104c01b15f (diff)
downloadpostgresql-3cae75f4209bcbb06285544de0f1c59f717a3159.tar.gz
postgresql-3cae75f4209bcbb06285544de0f1c59f717a3159.zip
Remove more progname references in vacuumdb.c
Oversight in 5f384037. Author: Álvaro Herrera Discussion: https://postgr.es/m/20190722151806.GA22634@alvherre.pgsql
-rw-r--r--src/bin/scripts/vacuumdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/scripts/vacuumdb.c b/src/bin/scripts/vacuumdb.c
index d3ee0da917b..d81bfa3a6b4 100644
--- a/src/bin/scripts/vacuumdb.c
+++ b/src/bin/scripts/vacuumdb.c
@@ -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;