Обсуждение: pgsql: Fix citext upgrade script to update derived copies of pg_type.ty

Поиск
Список
Период
Сортировка

pgsql: Fix citext upgrade script to update derived copies of pg_type.ty

От
Tom Lane
Дата:
Fix citext upgrade script to update derived copies of pg_type.typcollation.

If the existing citext type has not merely been created, but used in any
tables, then the upgrade script wasn't doing enough.  We have to update
attcollation for each citext table column, and indcollation for each citext
index column, as well.  Per report from Rudolf van der Leeden.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/94bdb198813b079467d7ed07c6f72ac896da7161

Modified Files
--------------
contrib/citext/citext--unpackaged--1.0.sql |   42 ++++++++++++++++++++++++++-
1 files changed, 40 insertions(+), 2 deletions(-)