Re: dealing with extension dependencies that aren't quite 'e' - Mailing list pgsql-hackers

From Abhijit Menon-Sen
Subject Re: dealing with extension dependencies that aren't quite 'e'
Date
Msg-id 20160301043320.GA13286@toroid.org
Whole thread Raw
In response to Re: dealing with extension dependencies that aren't quite 'e'  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: dealing with extension dependencies that aren't quite 'e'  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
At 2016-02-29 19:56:07 -0600, Jim.Nasby@BlueTreble.com wrote:
>
> I don't see why this would be limited to just functions. […] Am I
> missing something?

No, you are not missing anything. The specific problem I was trying to
solve involved a function, so I sketched out a solution for functions.
Once we have some consensus on whether that's an acceptable approach,
I'll extend the patch in whatever way we agree seems appropriate.

> Maybe the better way to handle this would be through ALTER EXTENSION?

That's what this (second) patch does.

> Given the audience for this, I think it'd probably be OK to just
> provide a function that does this, instead of DDL.

That seems like a promising idea. Can you suggest some possible usage?
Thanks.

-- Abhijit



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: pg_dump dump catalog ACLs
Next
From: Dilip Kumar
Date:
Subject: Re: Move PinBuffer and UnpinBuffer to atomics