Fix psql crash while parsing SQL file whose encoding is different from

Tatsuo Ishii <ishii@postgresql.org>

Commit: 530cbf6b10af156276d45687d14ca05cd4e39d16
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: 2012-12-02T12:21:01Z
Releases: 9.2.2
Fix psql crash while parsing SQL file whose encoding is different from
client encoding and the client encoding is not *safe* one. Such an
example is, file encoding is UTF-8 and client encoding SJIS. Patch
contributed by Jiang Guiqing.

Files

PathChange+/−
src/bin/psql/psqlscan.l modified +1 −1