Improve make_greater_string() with encoding-specific incrementers.
This infrastructure doesn't in any way guarantee that the character
we produce will sort before the one we incremented; but it does at least
make it much more likely that we'll end up with something that is a valid
character, which improves our chances.
Kyotaro Horiguchi, with various adjustments by me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/78d523b633d0c251c904318f2ba9916e2c47b9e8
Modified Files
--------------
src/backend/utils/adt/selfuncs.c | 65 ++++++----
src/backend/utils/mb/wchar.c | 257 ++++++++++++++++++++++++++++++++++++++
src/include/mb/pg_wchar.h | 3 +
3 files changed, 297 insertions(+), 28 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.