aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-11-10 18:02:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-11-10 18:02:27 +0000
commit47925b83cb1451ceb4fa37e70ee46eef064bd412 (patch)
treeed25cf14a6850e59403ada020a2eab0134bec200 /src/backend/access/gist/gist.c
parentaf9b481653240fe1ffd66f184026ea24928abcb2 (diff)
downloadpostgresql-47925b83cb1451ceb4fa37e70ee46eef064bd412.tar.gz
postgresql-47925b83cb1451ceb4fa37e70ee46eef064bd412.zip
Fix bugs in sqlchar_to_unicode and unicode_to_sqlchar: both were measuring
the length of a UTF8 character with pg_mblen (wrong if DB encoding isn't UTF8), and the latter was blithely assuming that a static buffer would somehow revert to all zeroes for each use.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions