pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Дилян Палаузов <dilyan.palauzov@aegee.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Re: 9.5 / Re: base_yylex undefined in src/interface/ecpg/preproc/parser.c
Date: Sun, 11 Dec 2016 17:18:24 -0500
Message-ID: <24062.1481494704@sss.pgh.pa.us> (raw)
In-Reply-To: <6920328a-b157-8165-2cd0-a6edb4c74e18@aegee.org>
References: <d845c1af-e18d-6651-178f-9f08cdf37e10@aegee.org>
	<12637.1481481170@sss.pgh.pa.us>
	<18146.1481486693@sss.pgh.pa.us>
	<e212b330-57bd-a928-838f-2eef13231cf7@aegee.org>
	<f53c3f3a-c40c-2656-25e5-903fe0f16f97@aegee.org>
	<19938.1481489410@sss.pgh.pa.us>
	<6920328a-b157-8165-2cd0-a6edb4c74e18@aegee.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

=?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= <dilyan.palauzov@aegee.org> writes:
> On 12/11/2016 09:50 PM, Tom Lane wrote:
>> I wondered about that --- but the code is rather different in 9.5,
>> and I'm hesitant to try to fix it blind.  Where can I find the version
>> of flex you're using?

> here: https://github.com/westes/flex

Thanks.  After some experimentation, HEAD now seems fine with
development-tip flex, but in our back branches I see symbol-redefinition
warnings in the main parser and ecpg, along with the link failure you
showed in ecpg.  I believe the reason those warnings aren't there in
HEAD/9.6 is commit 72b1e3a21, which undid our ancient hack of compiling
the scanner files as part of the grammar files.

What I'm inclined to do to make this better is to back-patch 72b1e3a21
along with today's fix.  We've had enough buildfarm and field testing
now to be pretty confident that that change didn't break anything,
and these results show that our old hacks aren't going to survive
contact with newer versions of flex.

			regards, tom lane


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



view thread (3+ messages)

Message-ID: <24062.1481494704@sss.pgh.pa.us>
Permalink:  ../24062.1481494704@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24062.1481494704@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dilyan.palauzov@aegee.org
  Subject: Re: 9.5 / Re: base_yylex undefined in src/interface/ecpg/preproc/parser.c
  In-Reply-To: <24062.1481494704@sss.pgh.pa.us>
  References: <d845c1af-e18d-6651-178f-9f08cdf37e10@aegee.org> <12637.1481481170@sss.pgh.pa.us> <18146.1481486693@sss.pgh.pa.us> <e212b330-57bd-a928-838f-2eef13231cf7@aegee.org> <f53c3f3a-c40c-2656-25e5-903fe0f16f97@aegee.org> <19938.1481489410@sss.pgh.pa.us> <6920328a-b157-8165-2cd0-a6edb4c74e18@aegee.org> <24062.1481494704@sss.pgh.pa.us>

* 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