pgsql: Allow NULL version for individual collations.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Allow NULL version for individual collations.
Дата
Msg-id E1jGwMc-00047y-Cz@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allow NULL version for individual collations.

Remove the documented restriction that collation providers must either
return NULL for all collations or non-NULL for all collations.

Use NULL for glibc collations like "C.UTF-8", which might otherwise lead
future proposed commits to force unnecessary index rebuilds.

Reviewed-by: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Discussion: https://postgr.es/m/CA%2BhUKGJvqup3s%2BJowVTcacZADO6dOhfdBmvOPHLS3KXUJu41Jw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/382a821907e76bf6068492a164fdfc57578391f4

Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: pgsql: Avoid allocating unnecessary zero-sized array.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Update SQL features