]> granicus.if.org Git - postgresql/commit
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:22:01 +0000 (21:22 +0900)
commitceee108acdf4c1f962574b3f9f9a6999891771dd
tree26a2f09fed5f793ef81caacb6f06870620ac7809
parentdbf2e2639067d95f507b727989454a74981fbc31
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