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