Skip to content

Commit

Permalink
Revert "pg_repack.c" (reorg#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDBA authored Jun 14, 2023
1 parent 5ca3f53 commit 54ad4f7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions bin/pg_repack.c
Original file line number Diff line number Diff line change
Expand Up @@ -888,13 +888,7 @@ repack_one_database(const char *orderby, char *errbuf, size_t errsize)
}

num = PQntuples(res);
/* Issue#260 Fix: show warning for invalid schema, but only when only 1 schema is provided. */
/* If other valid schemas are provided, do not show warning for any invalid ones. */
if (num == 0) {
ereport(WARNING,
(errcode(E_PG_COMMAND),
errmsg("No relations found.")));
}

for (i = 0; i < num; i++)
{
repack_table table;
Expand Down

0 comments on commit 54ad4f7

Please sign in to comment.