Skip to content
Snippets Groups Projects
Commit 5e11e73d authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent 45d146a6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment