git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 74ef810) | patch
Add a pg_encoding_mbcliplen() function that is just like pg_mbcliplen()
Sun, 4 Jan 2009 18:37:36 +0000 (18:37 +0000)
Sun, 4 Jan 2009 18:37:36 +0000 (18:37 +0000)
commit 1efd5ff89b8bf841324245e75739800414cf47aa
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).
src/backend/utils/mb/mbutils.c diff | blob | blame | history
src/include/mb/pg_wchar.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /