Add pg_logging_init() calls missing in commit ba3e6e2bca
As noticed by Michael Paquier.
This commit is contained in:
parent
9d353639c3
commit
cc893b8237
|
@ -89,6 +89,8 @@ main(int argc, char **argv)
|
||||||
int c;
|
int c;
|
||||||
bool need_strings = false;
|
bool need_strings = false;
|
||||||
|
|
||||||
|
pg_logging_init(argv[0]);
|
||||||
|
|
||||||
while ((c = getopt(argc, argv, "c:s")) != -1)
|
while ((c = getopt(argc, argv, "c:s")) != -1)
|
||||||
{
|
{
|
||||||
switch (c)
|
switch (c)
|
||||||
|
|
|
@ -43,6 +43,8 @@ main(int argc, char **argv)
|
||||||
int iter;
|
int iter;
|
||||||
int use_inc = 0;
|
int use_inc = 0;
|
||||||
|
|
||||||
|
pg_logging_init(argv[0]);
|
||||||
|
|
||||||
initStringInfo(&json);
|
initStringInfo(&json);
|
||||||
|
|
||||||
if (strcmp(argv[1], "-i") == 0)
|
if (strcmp(argv[1], "-i") == 0)
|
||||||
|
|
Loading…
Reference in New Issue