| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Use "%option prefix" to set API names in ecpg's lexer. |
| Date: | 2016-12-11 23:04:49 |
| Message-ID: | [email protected] |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-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/[email protected]
Branch
------
REL9_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/fb12471ebec11417d49e705e8cb77baaa53f0473
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/pgc.l | 68 ++++++++++++++------------------
src/interfaces/ecpg/preproc/variable.c | 2 +-
9 files changed, 136 insertions(+), 141 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Langote | 2016-12-12 05:06:45 | Re: [COMMITTERS] pgsql: Implement table partitioning. |
| Previous Message | Tom Lane | 2016-12-11 19:54:40 | pgsql: Use "%option prefix" to set API names in ecpg's lexer. |