Fix psql crash while parsing SQL file whose encoding is different from
Tatsuo Ishii <ishii@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/psqlscan.l | modified | +1 −1 |