pgsql: Remove dubious warning message from SQL/JSON functions

Started by Peter Eisentrautalmost 3 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Remove dubious warning message from SQL/JSON functions

There was a warning that FORMAT JSON has no effect on json/jsonb
types, which is true, but it's not clear why we should issue a warning
about it. The SQL standard does not say anything about this, which
should generally govern the behavior here. So remove it.

Discussion: /messages/by-id/dfec2cae-d17e-c508-6d16-c2dba82db486@eisentraut.org

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dcfc49c1b652dfe41273579aeaf6b454c51f037b

Modified Files
--------------
src/backend/parser/parse_expr.c | 5 -----
src/test/regress/expected/sqljson.out | 6 ------
2 files changed, 11 deletions(-)