Re: [COMMITTERS] pgsql: Unicode escapes in E'...' strings Author: Marko Kreen

From: Marko Kreen <markokr(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Unicode escapes in E'...' strings Author: Marko Kreen
Date: 2009-09-26 13:33:29
Message-ID: e51f66da0909260633y5fb71896yac09f537fac369e6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 9/26/09, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> On Sat, 2009-09-26 at 00:18 +0300, Marko Kreen wrote:
> > On 9/26/09, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > > Maybe it doesn't "need" to know, but I think it would be disastrous from
> > > a maintenance standpoint to not keep the two sets of flex rules in
> > > strict correspondence. It would soon become unclear whether or how to
> > > apply changes in the backend lexer to psql.
> >
> > Patch attached.
>
>
> That patch results in the following message from flex:
>
> psqlscan.l:1039: warning, -s option given but default rule can be
> matched

Agh. Well, that just means the <xeu> state must be commented out:

-%x xeu
+/* %x xeu */

--
marko

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-09-26 16:02:38 Re: [COMMITTERS] pgsql: Unicode escapes in E'...' strings Author: Marko Kreen
Previous Message Peter Eisentraut 2009-09-26 08:01:18 Re: [COMMITTERS] pgsql: Unicode escapes in E'...' strings Author: Marko Kreen

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-09-26 13:48:35 Re: syslog_line_prefix
Previous Message Robert Haas 2009-09-26 13:29:47 Re: Hot Standby on git