]> 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:54 +0000 (21:22 +0900)
commitcd99d20550a36c673cc5003c7987f816d6cd3eb3
tree9d9c2953f8c7e4fa8778573975a53b5245faf8a0
parentb4cad625113e42bd8c9c3bad8390ebbdb60b3aad
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