Fix up some oversights in psql's Unicode-escape support.

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

Commit: 6319c35d5b3e7e0a2cdc832503815741d9ad5eb5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-10-27T02:25:42Z
Releases: 9.0.2
Fix up some oversights in psql's Unicode-escape support.

Original patch failed to include new exclusive states in a switch that
needed to include them; and also was guilty of very fuzzy thinking
about how to handle error cases.  Per bug #5729 from Alan Choi.

Files

PathChange+/−
src/bin/psql/psqlscan.l modified +17 −22