Thread: pgsql: Fix lexing of U& sequences just before EOF.

pgsql: Fix lexing of U& sequences just before EOF.

From
Tom Lane
Date:
Fix lexing of U& sequences just before EOF.

Commit a5ff502fceadc7c203b0d7a11b45c73f1b421f69 was a brick shy of a load
in the backend lexer too, not just psql.  Per further testing of bug #9068.

In passing, improve related comments.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0c2338abbb17b7b319f36a73d8db77735346804f

Modified Files
--------------
src/backend/parser/scan.l |   17 +++++++++++------
src/bin/psql/psqlscan.l   |    3 ++-
2 files changed, 13 insertions(+), 7 deletions(-)