These calls, if activated, are happening before null checks, so they
are not correct. Also, the "in" variable is shadowed later. Remove
them to avoid confusion and bad examples.
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: David Geier <geidav.pg@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/
328e4371-9a4c-4196-9df9-
1f23afc900df%40eisentraut.org
Datum
jsonb_set_lax(PG_FUNCTION_ARGS)
{
- /* Jsonb *in = PG_GETARG_JSONB_P(0); */
- /* ArrayType *path = PG_GETARG_ARRAYTYPE_P(1); */
- /* Jsonb *newval = PG_GETARG_JSONB_P(2); */
- /* bool create = PG_GETARG_BOOL(3); */
text *handle_null;
char *handle_val;