diff --git a/bin/pg_repack.c b/bin/pg_repack.c index 03282342..37b6ae7e 100644 --- a/bin/pg_repack.c +++ b/bin/pg_repack.c @@ -894,7 +894,6 @@ repack_one_database(const char *orderby, char *errbuf, size_t errsize) { repack_table table; StringInfoData copy_sql; - const char *tablespace_orig; const char *ckey; int c = 0; @@ -919,7 +918,7 @@ repack_one_database(const char *orderby, char *errbuf, size_t errsize) table.enable_trigger = getstr(res, i, c++); table.create_table = getstr(res, i, c++); - tablespace_orig = getstr(res, i, c++); /* to be clobbered */ + getstr(res, i, c++); /* tablespace_orig is clobbered */ table.copy_data = getstr(res, i , c++); table.alter_col_storage = getstr(res, i, c++); table.drop_columns = getstr(res, i, c++);