Add pg_logging_init() calls missing in commit ba3e6e2bca

As noticed by Michael Paquier.
This commit is contained in:
Andrew Dunstan 2024-04-24 07:52:52 -04:00
parent 9d353639c3
commit cc893b8237
2 changed files with 4 additions and 0 deletions

View File

@ -89,6 +89,8 @@ main(int argc, char **argv)
int c;
bool need_strings = false;
pg_logging_init(argv[0]);
while ((c = getopt(argc, argv, "c:s")) != -1)
{
switch (c)

View File

@ -43,6 +43,8 @@ main(int argc, char **argv)
int iter;
int use_inc = 0;
pg_logging_init(argv[0]);
initStringInfo(&json);
if (strcmp(argv[1], "-i") == 0)