mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-07 17:37:29 +08:00
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.