summaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-07-18 21:55:38 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-07-18 21:55:38 -0400
commitd9f37e6661ec654f7252bfc23e084c9e2ca5db14 (patch)
treedcb80bebf992e8f5b40d4c6cae35a128c09fd05e /src/backend/access/gist
parente2bd904955e2221eddf01110b1f25002de2aaa83 (diff)
Add checks for valid multibyte character length in UtfToLocal, LocalToUtf.
This is mainly to suppress "uninitialized variable" warnings from very recent versions of gcc. But it seems like a good robustness thing anyway, not to mention that we might someday decide to support 6-byte UTF8. Per report from Karol Trzcionka. No back-patch since there's no reason at the moment to think this is more than cosmetic.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions