mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Remove incorrect commented out code
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
This commit is contained in:
parent
f3c96c9dff
commit
846fb3c790
1 changed files with 0 additions and 4 deletions
|
|
@ -4898,10 +4898,6 @@ jsonb_set(PG_FUNCTION_ARGS)
|
|||
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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue