PostgreSQL Source Code git master
|
#include "postgres_fe.h"
#include "common/jsonapi.h"
#include "common/logging.h"
#include "lib/stringinfo.h"
#include "mb/pg_wchar.h"
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Macros | |
#define | BUFSIZE 6000 |
Functions | |
int | main (int argc, char **argv) |
#define BUFSIZE 6000 |
Definition at line 32 of file test_json_parser_perf.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 35 of file test_json_parser_perf.c.
References appendBinaryStringInfo(), BUFSIZE, StringInfoData::data, exit(), freeJsonLexContext(), i, initStringInfo(), JSON_SUCCESS, StringInfoData::len, makeJsonLexContextCstringLen(), makeJsonLexContextIncremental(), nullSemAction, PG_BINARY_R, pg_fatal, pg_logging_init(), pg_parse_json(), pg_parse_json_incremental(), and PG_UTF8.