summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan2024-04-24 11:52:52 +0000
committerAndrew Dunstan2024-04-24 12:32:01 +0000
commitcc893b82370b5d68e0a72f5bb1663644a3a0351d (patch)
tree8cff5327c35dc3234ab53989b1d683ea4fd457e8 /src
parent9d353639c3b37efea7a29b63027cef81a7c7e335 (diff)
Add pg_logging_init() calls missing in commit ba3e6e2bca
As noticed by Michael Paquier.
Diffstat (limited to 'src')
-rw-r--r--src/test/modules/test_json_parser/test_json_parser_incremental.c2
-rw-r--r--src/test/modules/test_json_parser/test_json_parser_perf.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/test/modules/test_json_parser/test_json_parser_incremental.c b/src/test/modules/test_json_parser/test_json_parser_incremental.c
index b2195cb8113..0bc047a4af4 100644
--- a/src/test/modules/test_json_parser/test_json_parser_incremental.c
+++ b/src/test/modules/test_json_parser/test_json_parser_incremental.c
@@ -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)
diff --git a/src/test/modules/test_json_parser/test_json_parser_perf.c b/src/test/modules/test_json_parser/test_json_parser_perf.c
index f5c0e8dd9ae..ea85626cbd8 100644
--- a/src/test/modules/test_json_parser/test_json_parser_perf.c
+++ b/src/test/modules/test_json_parser/test_json_parser_perf.c
@@ -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)