Re: Custom Domain; migration from 8.4 to 9.1 and COLLATE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Evan Carroll <me(at)evancarroll(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Custom Domain; migration from 8.4 to 9.1 and COLLATE
Date: 2012-05-10 23:31:19
Message-ID: 15485.1336692679@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Evan Carroll <me(at)evancarroll(dot)com> writes:
> Also, here is a copy of the complete script -- including the citext
> creation statements from the dump, with the patch, with the bugged
> statements.

Well, if that's how you're creating citext, then yeah it's broken.
As of 9.1 the citext type needs to be created with the attribute
"COLLATABLE = true". The suggested UPDATE statements are a means
of correcting a failure to do that after-the-fact, but they don't
cover any domains that have already been created on top of citext.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Christensen 2012-05-11 04:16:49 Question about schema-level permissions
Previous Message Evan Carroll 2012-05-10 23:26:26 Re: Custom Domain; migration from 8.4 to 9.1 and COLLATE