Silence compiler warning introduced in 1edb3b491b

Reported-by: Richard Guo <guofenglinux@gmail.com>
Discussion: https://postgr.es/m/CAMbWs48qEoe9Du5tuUxrkGQ6VC9oy+tQOORQ6jpob14-E1Z+jg@mail.gmail.com
This commit is contained in:
Amit Langote 2024-01-25 17:11:27 +09:00
parent 1d35f705e1
commit fba2112b15

View File

@ -2478,7 +2478,7 @@ jsonb_populate_record_valid(PG_FUNCTION_ARGS)
(void) populate_record_worker(fcinfo, "jsonb_populate_record",
false, true, (Node *) &escontext);
return BoolGetDatum(!SOFT_ERROR_OCCURRED(&escontext));
return BoolGetDatum(!escontext.error_occurred);
}
Datum