Re: Extension upgrade, patch v0: debug help needed - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Extension upgrade, patch v0: debug help needed
Date
Msg-id ADFA83C2-736E-4EFA-A01F-E9EB6D243B45@kineticode.com
Whole thread Raw
In response to Re: Extension upgrade, patch v0: debug help needed  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: Extension upgrade, patch v0: debug help needed  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
List pgsql-hackers
On Jan 3, 2011, at 11:49 AM, Dimitri Fontaine wrote:

> "David E. Wheeler" <david@kineticode.com> writes:
>> I rather doubt that "WRAPPER" will be accepted as a reserved word in the grammar.
>
> It's already in the grammar, and I didn't change its "level".

Okay.

>>> dim=# create wrapper extension lo;
>>> CREATE EXTENSION
>>
>> What happened to your UPGRADE from NULL idea?
>
> You upgrade an installed extension, right?

What?

>>> The WRAPPER keyword meaning is that we're only creating the catalog
>>> entry, forcing version to NULL and not running the extension's script.
>>> This keyword looked like the best choice from existing ones in our
>>> grammar, please feel free to pick any other phrase here.
>>
>> I don't see why it's necessary at all.
>
> Care to offer an alternative or go in any level of details about what
> you have in mind and how *exactly* you think it should work?  I've not
> been offered psychic powers this Christmas, sorry…

That's what I understood your original "UPGRADE from NULL" being. Did I misread you?

Best,

David



pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Extension upgrade, patch v0: debug help needed
Next
From: Tom Lane
Date:
Subject: Re: Upgrading Extension, version numbers (was: Extensions, patch v16)