Обсуждение: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9b97b7f8356c63ea0b6704718d75ea01ec3035bf

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