pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Get rid of jsonpath_gram.h and jsonpath_scanner.h
Date: Wed, 20 Mar 2019 08:13:51 +0000
Message-ID: <E1h6WMB-0007am-2c@gemulon.postgresql.org> (raw)

Get rid of jsonpath_gram.h and jsonpath_scanner.h

Jsonpath grammar and scanner are both quite small.  It doesn't worth complexity
to compile them separately.  This commit makes grammar and scanner be compiled
at once.  Therefore, jsonpath_gram.h and jsonpath_gram.h are no longer needed.
This commit also does some reorganization of code in jsonpath_gram.y.

Discussion: https://postgr.es/m/d47b2023-3ecb-5f04-d253-d557547cf74f%402ndQuadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/550b9d26f80fa3048f2d5883f0779ed29465960a

Modified Files
--------------
src/backend/Makefile                  |  13 +-
src/backend/utils/adt/.gitignore      |   1 -
src/backend/utils/adt/Makefile        |  21 +-
src/backend/utils/adt/jsonpath_gram.y | 485 ++++++++++++++++++----------------
src/backend/utils/adt/jsonpath_scan.l |   4 +-
src/include/Makefile                  |   4 +-
src/include/utils/.gitignore          |   1 -
src/include/utils/jsonpath_scanner.h  |  32 ---
src/tools/msvc/Solution.pm            |  18 --
9 files changed, 268 insertions(+), 311 deletions(-)



Message-ID: <E1h6WMB-0007am-2c@gemulon.postgresql.org>
Permalink:  ../E1h6WMB-0007am-2c@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h6WMB-0007am-2c@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org
  Subject: Re: pgsql: Get rid of jsonpath_gram.h and jsonpath_scanner.h
  In-Reply-To: <E1h6WMB-0007am-2c@gemulon.postgresql.org>
  References: <E1h6WMB-0007am-2c@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