diff --git a/bin/pg_repack.c b/bin/pg_repack.c index 4095037..d8b2962 100644 --- a/bin/pg_repack.c +++ b/bin/pg_repack.c @@ -341,7 +341,7 @@ main(int argc, char *argv[]) { if (!repack_one_database(orderby, errbuf, sizeof(errbuf))) ereport(ERROR, - (errcode(ERROR), errmsg("%s", errbuf))); + (errcode(ERROR), errmsg("%s failed with error: %s", PROGRAM_NAME, errbuf))); } }