From 54ad4f727e665a2576ad2e2f66aed4bd16dd81f9 Mon Sep 17 00:00:00 2001 From: Michael Vitale Date: Wed, 14 Jun 2023 07:10:58 -0400 Subject: [PATCH] Revert "pg_repack.c" (#351) --- bin/pg_repack.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bin/pg_repack.c b/bin/pg_repack.c index 88cd626a..e7d19fe0 100644 --- a/bin/pg_repack.c +++ b/bin/pg_repack.c @@ -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;