]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove dubious warning message from SQL/JSON functions
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 18 Aug 2023 05:41:14 +0000 (07:41 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 18 Aug 2023 05:43:52 +0000 (07:43 +0200)
commitdcfc49c1b652dfe41273579aeaf6b454c51f037b
tree13bd73e9485082190da829973481d1af5bed7d88
parent6337e994e89797d60b68ac6786c6a322ac00a382
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: https://www.postgresql.org/message-id/flat/dfec2cae-d17e-c508-6d16-c2dba82db486%40eisentraut.org
src/backend/parser/parse_expr.c
src/test/regress/expected/sqljson.out