Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Revert "pg_repack.c" #351

Merged
merged 1 commit into from
Jun 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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