Wordsmith error message when repack_one_database() fails.

This commit is contained in:
Josh Kupershmidt 2015-01-26 19:21:27 -05:00
parent 49e542a0b6
commit de8853b241

View File

@ -341,7 +341,7 @@ main(int argc, char *argv[])
{
if (!repack_one_database(orderby, errbuf, sizeof(errbuf)))
ereport(ERROR,
(errcode(ERROR), errmsg("pg_repack fails by PostgreSQL server error: %s", errbuf)));
(errcode(ERROR), errmsg("%s failed with error: %s", PROGRAM_NAME, errbuf)));
}
}