]> 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:21:01 +0000 (21:21 +0900)
commit530cbf6b10af156276d45687d14ca05cd4e39d16
tree9a33542212f7404a5720c990f6cfad0e9ba9e83c
parent19a08ef7d3a8cd8327289c2183f8402d6b7dade9
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