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: Use "%option prefix" to set API names in ecpg's lexer.
Date: Sun, 11 Dec 2016 23:04:49 +0000
Message-ID: <E1cGDAn-00041w-Hv@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Use "%option prefix" to set API names in ecpg's lexer.

Back-patch commit 92fb64983 into the pre-9.6 branches.

Without this, ecpg fails to build 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_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/15b3722700ca043494804dfd1fe7556c50d4f9e9

Modified Files
--------------
src/interfaces/ecpg/preproc/descriptor.c | 31 ++++++++-------
src/interfaces/ecpg/preproc/ecpg.addons  | 30 +++++++--------
src/interfaces/ecpg/preproc/ecpg.c       | 40 +++++++++----------
src/interfaces/ecpg/preproc/ecpg.header  | 12 +++---
src/interfaces/ecpg/preproc/ecpg.trailer | 18 ++++-----
src/interfaces/ecpg/preproc/extern.h     | 10 ++---
src/interfaces/ecpg/preproc/output.c     | 66 ++++++++++++++++----------------
src/interfaces/ecpg/preproc/parser.c     | 10 ++---
src/interfaces/ecpg/preproc/pgc.l        | 66 ++++++++++++++------------------
src/interfaces/ecpg/preproc/variable.c   |  2 +-
10 files changed, 140 insertions(+), 145 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 (6+ messages)  latest in thread

Message-ID: <E1cGDAn-00041w-Hv@gemulon.postgresql.org>
Permalink:  ../E1cGDAn-00041w-Hv@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cGDAn-00041w-Hv@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: Use "%option prefix" to set API names in ecpg's lexer.
  In-Reply-To: <E1cGDAn-00041w-Hv@gemulon.postgresql.org>
  References: <E1cGDAn-00041w-Hv@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