Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGCUD-00061k-Sc for pgsql-bugs@arkaria.postgresql.org; Sun, 11 Dec 2016 22:20:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cGCUC-0004ki-Aw for pgsql-bugs@arkaria.postgresql.org; Sun, 11 Dec 2016 22:20:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cGCUA-0004kG-DY for pgsql-bugs@postgresql.org; Sun, 11 Dec 2016 22:20:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cGCU6-0001Yc-Nl for pgsql-bugs@postgresql.org; Sun, 11 Dec 2016 22:20:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id uBBMIOh7024063; Sun, 11 Dec 2016 17:18:24 -0500 From: Tom Lane To: =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= cc: pgsql-bugs@postgresql.org Subject: Re: Re: 9.5 / Re: base_yylex undefined in src/interface/ecpg/preproc/parser.c In-reply-to: <6920328a-b157-8165-2cd0-a6edb4c74e18@aegee.org> References: <12637.1481481170@sss.pgh.pa.us> <18146.1481486693@sss.pgh.pa.us> <19938.1481489410@sss.pgh.pa.us> <6920328a-b157-8165-2cd0-a6edb4c74e18@aegee.org> Comments: In-reply-to =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= message dated "Sun, 11 Dec 2016 21:53:25 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24061.1481494704.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 11 Dec 2016 17:18:24 -0500 Message-ID: <24062.1481494704@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org =3D?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?=3D 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 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs