pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Simplify productions for FORMAT JSON [ ENCODING name ]
Date: Mon, 11 Dec 2023 10:55:57 +0000
Message-ID: <E1rCdx6-009esM-JB@gemulon.postgresql.org> (raw)

Simplify productions for FORMAT JSON [ ENCODING name ]

This removes the production json_encoding_clause_opt, instead merging
it into json_format_clause.  Also remove the auxiliary
makeJsonEncoding() function.

Reviewed-by: Amit Langote <amitlangote09@gmail.com>
Discussion: https://postgr.es/m/202312071841.u2gueb5dsrbk%40alvherre.pgsql

Branch
------
master

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

Modified Files
--------------
src/backend/nodes/makefuncs.c | 21 -------------------
src/backend/parser/gram.y     | 49 +++++++++++++++++++++++++++++--------------
src/include/nodes/makefuncs.h |  1 -
3 files changed, 33 insertions(+), 38 deletions(-)



Message-ID: <E1rCdx6-009esM-JB@gemulon.postgresql.org>
Permalink:  ../E1rCdx6-009esM-JB@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rCdx6-009esM-JB@gemulon.postgresql.org

 · 

reply

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: alvherre@alvh.no-ip.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Simplify productions for FORMAT JSON [ ENCODING name ]
  In-Reply-To: <E1rCdx6-009esM-JB@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