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

Tatsuo Ishii <ishii@postgresql.org>

Commit: 53edb8dc0274e0d05eb0371ce84b7fb14cb5eb5a
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: 2012-12-02T12:11:15Z
Releases: 9.3.0
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