Fix psql crash while parsing SQL file whose encoding is different from
authorTatsuo Ishii <ishii@postgresql.org>
Sun, 2 Dec 2012 12:11:15 +0000 (21:11 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Sun, 2 Dec 2012 12:23:51 +0000 (21:23 +0900)
commiteb851c998d2a37a6512a26dba11a303babe6316a
treed59e58878b6b2efee3edc9eca817cd6732cab05d
parent9009ec051554bac71e7eac701936743de52c2322
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.
src/bin/psql/psqlscan.l