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

Tatsuo Ishii <ishii@postgresql.org>

Commit: ceee108acdf4c1f962574b3f9f9a6999891771dd
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: 2012-12-02T12:22:01Z
Releases: 9.0.11
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