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

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

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2009-09-25 21:13:06 pgsql: Prevent isolated second surrogate in U& syntax
Previous Message Peter Eisentraut 2009-09-25 20:53:38 Re: [COMMITTERS] pgsql: Unicode escapes in E'...' strings Author: Marko Kreen

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-09-25 21:04:37 Re: Hot Standby 0.2.1
Previous Message Robert Haas 2009-09-25 21:02:52 Re: syslog_line_prefix