diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-01-04 18:37:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-01-04 18:37:36 +0000 |
commit | 1efd5ff89b8bf841324245e75739800414cf47aa (patch) | |
tree | caa5d3f488d30f4c7940c9e89f3367249c21236a /src/backend/access/gist/gistutil.c | |
parent | 74ef810ca6df5bfbebdd3ea4ddeee1fa24327fb2 (diff) | |
download | postgresql-1efd5ff89b8bf841324245e75739800414cf47aa.tar.gz postgresql-1efd5ff89b8bf841324245e75739800414cf47aa.zip |
Add a pg_encoding_mbcliplen() function that is just like pg_mbcliplen()
except the caller can specify the encoding to work in; this will be needed
for pg_stat_statements. In passing, do some marginal efficiency hacking
and clean up some comments. Also, prevent the single-byte-encoding code
path from fetching one byte past the stated length of the string (this
last is a bug that might need to be back-patched at some point).
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions