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

Tatsuo Ishii <ishii@postgresql.org>

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