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

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Unicode escapes in E'...' strings Author: Marko Kreen
Date
Msg-id 3759.1253912636@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Unicode escapes in E'...' strings Author: Marko Kreen  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [COMMITTERS] pgsql: Unicode escapes in E'...' strings Author: Marko Kreen
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On Fri, 2009-09-25 at 15:39 -0400, Tom Lane wrote:
>> Also, it failed to update psql's scanner to match.

> Why does the psql scanner need to know about this?  Doesn't it just need
> to know the difference between backslash-quote and backslash-something
> else?

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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: syslog_line_prefix
Next
From: Robert Haas
Date:
Subject: Re: syslog_line_prefix