Re: Add function dependencies - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Add function dependencies
Date
Msg-id 87y66qxy3c.fsf@enterprise.technique.hi-media-techno.com
Whole thread Raw
In response to Re: Add function dependencies  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Add function dependencies  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> What's a "not-to-follow dependency"?

In case of extensions the code follows dependencies to walk on all
objects.  We already have the problem that an extension depending on
another is not relocatable, because 'ALTER EXTENSION SET SCHEMA' would
walk to objects of another extension (the one it depends on).  We said
inter-extension dependencies could wait until later, so what you do here
is to declare your extension has not relocatable.

Now, if there are some dependencies between objects that are not of the
same extension, we have the exact same problem.  That's what I called a
"not-to-follow" dependency for lack of a better term.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: arrays as pl/perl input arguments [PATCH]
Next
From: Peter Eisentraut
Date:
Subject: Re: libpq documentation cleanups (repost 3)