pgsql: Remove dubious warning message from SQL/JSON functions

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove dubious warning message from SQL/JSON functions
Date: 2023-08-18 05:58:41
Message-ID: E1qWsVN-000hjr-8V@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/881cd9e581c2c40023f82edcd1cd2335691b78f2

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

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2023-08-18 10:25:23 Re: pgsql: Split out tiebreaker comparisons from comparetup_* functions
Previous Message Michael Paquier 2023-08-18 00:47:22 pgsql: pg_upgrade: Improve style of a few verbose messages