Skip site navigation (1) Skip section navigation (2)

Re: Extension upgrade, patch v0: debug help needed

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Extension upgrade, patch v0: debug help needed
Date: 2011-01-03 19:51:14
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Jan 3, 2011, at 11:49 AM, Dimitri Fontaine wrote:

> "David E. Wheeler" <david(at)kineticode(dot)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".


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


>>> 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?



In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2011-01-03 19:51:36
Subject: Re: Upgrading Extension, version numbers (was: Extensions, patch v16)
Previous:From: Dimitri FontaineDate: 2011-01-03 19:49:44
Subject: Re: Extension upgrade, patch v0: debug help needed

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group