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 20160405022530.GA3078@toroid.org
Whole thread Raw
In response to Re: dealing with extension dependencies that aren't quite 'e'  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: dealing with extension dependencies that aren't quite 'e'
List pgsql-hackers
At 2016-04-04 18:55:03 -0300, alvherre@2ndquadrant.com wrote:
>
> At this point I think we're missing user-level docs for the additional
> clause in each ALTER command.

Thanks for having a look. Now that you're happy with the grammar, I'll
write the remaining docs and resubmit the patch later today.

> Do you have any ideas on how this would appear in regression tests?

No specific ideas.

At a high level, I think we should install an empty extension, create
one of each kind of object, alter them to depend on the extension, check
that pg_depend has the right 'x' rows, then drop the extension and make
sure the objects have gone away.

Does that sound reasonable? Suggestions welcome.

-- Abhijit



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: snapshot too old, configured by time
Next
From: David Rowley
Date:
Subject: Re: oversight in parallel aggregate