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

Tatsuo Ishii <ishii@postgresql.org>

Commit: eb851c998d2a37a6512a26dba11a303babe6316a
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: 2012-12-02T12:23:51Z
Releases: 8.3.22
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