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:16:39
Message-ID: 12266.1336691799@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:
> I've been able to reproduce it in a fresh database. This is a PSQL
> script 2a and 2b will fail.

Doesn't reproduce for me. I guess one question is how you are loading
citext into the "fresh" database --- maybe you are inheriting a bum copy
from template1?

But anyway, looking at this example makes me realize that there is an
oversight in the recommended update script: it does not consider the
possibility that it needs to fix domains over citext. Try doing
the updates with target type name equal to each such domain you have.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Evan Carroll 2012-05-10 23:26:26 Re: Custom Domain; migration from 8.4 to 9.1 and COLLATE
Previous Message Evan Carroll 2012-05-10 23:08:19 Re: Custom Domain; migration from 8.4 to 9.1 and COLLATE