From: | "David E(dot) Wheeler" <david(at)kineticode(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | Josh Berkus <josh(at)agliodbs(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: citext operator precedence fix |
Date: | 2011-09-22 18:09:05 |
Message-ID: | 1B1B284E-3A01-4B22-A8FD-A3FA68D6870E@kineticode.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sep 22, 2011, at 11:07 AM, Alvaro Herrera wrote:
>> That is the test file. The main SQL file is citext--1.0.sql. You'll actually need to bump the version number to 1.1, rename that file to citext--1.1.sql, and also add them to a citext--1.0--1.1.sql. There probably also needs to be a citext--unpackaged--1.1.sql file.
>
> Hmm, if there's a citext--unpackaged--1.0.sql and also
> citext--1.0--1.1.sql, is it really necessary to have
> citext--unpackaged--1.1.sql? Shouldn't the upgrade facility be able to
> just run both scripts?
No, because if 1.1 was installed on 8.4, you'd need the commands to move all its functions into the extension, not re-create them.
However, since this ships with core, it's probably not necessary, because theoretically no one will use it in 8.4, so the functions will never be unpackaged.
Best,
David
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2011-09-22 18:14:35 | Re: citext operator precedence fix |
Previous Message | Alvaro Herrera | 2011-09-22 18:07:28 | Re: citext operator precedence fix |