From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove dubious warning message from SQL/JSON functions
Date: Fri, 18 Aug 2023 05:58:41 +0000
Message-ID: <E1qWsVN-000hjr-8V@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove dubious warning message from SQL/JSON functions
In-Reply-To: <E1qWsVN-000hjr-8V@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox