Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-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

pgsql-hackers by date

Next:From: Simon RiggsDate: 2009-09-25 21:04:37
Subject: Re: Hot Standby 0.2.1
Previous:From: Robert HaasDate: 2009-09-25 21:02:52
Subject: Re: syslog_line_prefix

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group