pgsql: Remove incorrect commented out code - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove incorrect commented out code
Date
Msg-id E1vitDT-001zEv-1g@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/846fb3c7901146a5450c08aeadf50566d5d65d09

Modified Files
--------------
src/backend/utils/adt/jsonfuncs.c | 4 ----
1 file changed, 4 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Remove redundant AssertVariableIsOfType uses
Next
From: Peter Eisentraut
Date:
Subject: Re: pgsql: tests: Add a test C++ extension module