Fix lexing of U& sequences just before EOF.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4c70cb1d341d9f0d53d4bfc31327dd68285586ae
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2014-02-04T00:48:00Z
Releases: 9.3.3
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.

Files

PathChange+/−
src/backend/parser/scan.l modified +11 −6
src/bin/psql/psqlscan.l modified +2 −1