Re: contrib function naming, and upgrade issues - Mailing list pgsql-hackers

From Robert Haas
Subject Re: contrib function naming, and upgrade issues
Date
Msg-id 603c8f070903230434x2842c631u8d4c6b185117494d@mail.gmail.com
Whole thread Raw
In response to Re: contrib function naming, and upgrade issues  (Greg Stark <greg.stark@enterprisedb.com>)
Responses Re: contrib function naming, and upgrade issues  (Dimitri Fontaine <dfontaine@hi-media.com>)
List pgsql-hackers
On Sun, Mar 22, 2009 at 11:26 PM, Greg Stark
<greg.stark@enterprisedb.com> wrote:
> Why do you need any explicit syntax? If the database is loading an SQL file
> as a result of a LOAD MODULE command wouldn't it know to set whatever
> internal state it needs to remember that?

That might not be the only time you ever want to create dependencies
on the module object.  What if the module wants to create an
additional table, view, etc. at some later time, following the load?
I'm not sure whether there's a use case for that, but it doesn't seem
totally implausible.

...Robert


pgsql-hackers by date:

Previous
From: Kedar Potdar
Date:
Subject: Partitioning feature ...
Next
From: Nikhil Sontakke
Date:
Subject: Re: Partitioning feature ...