Re: Quick Extensions Question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Quick Extensions Question
Date: 2011-03-04 00:01:50
Message-ID: 10905.1299196910@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Thu, Mar 3, 2011 at 4:31 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Comments?

> My only real concern about this is that someone might get confused
> about whether they are supposed to issue CREATE EXTENSION or CREATE
> LANGUAGE.

It wouldn't really matter, up till the point when they tried to load an
extension that listed the language extension as a "requires". And then
they could fix it with CREATE EXTENSION ... FROM unpackaged. It's no
worse than the situation with contrib modules that haven't been upgraded
to extensions.

Also, to the extent that we can make all that "you forgot to upgrade it
to an extension" pain happen in 9.1, I think that's better than
spreading it over multiple releases. Which is what will happen if we
don't extension-ify languages till later.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2011-03-04 00:26:45 Re: ALTER TABLE deadlock with concurrent INSERT
Previous Message Jim Nasby 2011-03-03 23:52:58 Re: Snapshot synchronization, again...