pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Build backend/parser/scan.l and interfaces/ecpg/preproc/pgc.l st
Date: Sun, 11 Dec 2016 23:04:49 +0000
Message-ID: <E1cGDAn-000423-Id@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Build backend/parser/scan.l and interfaces/ecpg/preproc/pgc.l standalone.

Back-patch commit 72b1e3a21 into the pre-9.6 branches.

As noted in the original commit, this has some extra benefits: we can
narrow the scope of the -Wno-error flag that's forced on scan.c.  Also,
since these grammar and lexer files are so large, splitting them into
separate build targets should have some advantages in build speed,
particularly in parallel or ccache'd builds.

However, the real reason for doing this now is that it avoids symbol-
redefinition warnings (or worse) with the latest version of flex.
It's not unreasonable that people would want to compile our old branches
with recent tools.  Per report from Дилян Палаузов.

Discussion: https://postgr.es/m/d845c1af-e18d-6651-178f-9f08cdf37e10@aegee.org

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/73ae395d84198ff14792522c79471975936ee76a

Modified Files
--------------
src/backend/parser/Makefile              |  9 +++------
src/backend/parser/gram.y                | 10 ----------
src/backend/parser/scan.l                |  9 +++++----
src/interfaces/ecpg/preproc/Makefile     |  7 ++-----
src/interfaces/ecpg/preproc/ecpg.trailer |  8 --------
src/interfaces/ecpg/preproc/pgc.l        | 14 +++++++++++++-
6 files changed, 23 insertions(+), 34 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (5+ messages)  latest in thread

Message-ID: <E1cGDAn-000423-Id@gemulon.postgresql.org>
Permalink:  ../E1cGDAn-000423-Id@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cGDAn-000423-Id@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Build backend/parser/scan.l and interfaces/ecpg/preproc/pgc.l st
  In-Reply-To: <E1cGDAn-000423-Id@gemulon.postgresql.org>
  References: <E1cGDAn-000423-Id@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