pgsql: Improve make_greater_string() with encoding-specific incrementer

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Improve make_greater_string() with encoding-specific incrementer
Дата
Msg-id E1RKDaS-0004zM-VJ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Remove pg_upgrade dependency on the 'postgres' database existing
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix assorted bogosities in cash_in() and cash_out().