38#define OAUTHDEBUG_UNSAFE_HTTP (1<<0)
40#define OAUTHDEBUG_UNSAFE_TRACE (1<<1)
42#define OAUTHDEBUG_UNSAFE_DOS_ENDPOINT (1<<2)
47#define OAUTHDEBUG_CALL_COUNT (1<<16)
49#define OAUTHDEBUG_PLUGIN_ERRORS (1<<17)
52#define OAUTHDEBUG_LEGACY_UNSAFE ((uint32) ~0)
55#define OAUTHDEBUG_UNSAFE_MASK ((uint32) 0x0000FFFF)
58 "the first safe OAUTHDEBUG flag should be above OAUTHDEBUG_UNSAFE_MASK");
88 if (!
env ||
env[0] ==
'\0')
121 libpq_gettext(
"WARNING: unrecognized PGOAUTHDEBUG option \"%s\" (ignored)\n"),
129 libpq_gettext(
"WARNING: PGOAUTHDEBUG option \"%s\" is unsafe (ignored)\n"),
#define fprintf(file, fmt, msg)
#define OAUTHDEBUG_UNSAFE_HTTP
#define OAUTHDEBUG_LEGACY_UNSAFE
static uint32 oauth_parse_debug_flags(void)
#define OAUTHDEBUG_CALL_COUNT
#define OAUTHDEBUG_UNSAFE_TRACE
#define OAUTHDEBUG_PLUGIN_ERRORS
#define OAUTHDEBUG_UNSAFE_MASK
#define OAUTHDEBUG_UNSAFE_DOS_ENDPOINT