Skip to content

Commit de8853b

Browse files
committed
Wordsmith error message when repack_one_database() fails.
1 parent 49e542a commit de8853b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/pg_repack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ main(int argc, char *argv[])
341341
{
342342
if (!repack_one_database(orderby, errbuf, sizeof(errbuf)))
343343
ereport(ERROR,
344-
(errcode(ERROR), errmsg("pg_repack fails by PostgreSQL server error: %s", errbuf)));
344+
(errcode(ERROR), errmsg("%s failed with error: %s", PROGRAM_NAME, errbuf)));
345345
}
346346
}
347347

0 commit comments

Comments
 (0)