Re: more ALTER .. DEPENDS ON EXTENSION fixes - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: more ALTER .. DEPENDS ON EXTENSION fixes
Date
Msg-id 20200217235603.GA32740@alvherre.pgsql
Whole thread Raw
In response to more ALTER .. DEPENDS ON EXTENSION fixes  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: more ALTER .. DEPENDS ON EXTENSION fixes
List pgsql-hackers
On 2020-Feb-17, Alvaro Herrera wrote:

> * More than one 'x' dependencies are allowed for the same object on the
>   same extension.  That's useless and polluting, so should be prevented.
> 
> * There's no way to remove an 'x' dependency.

Here's these two patches.  There's an "if (true)" in 0002 which is a
little weird -- that's there just to avoid reindenting those lines in
0003.

In principle, I would think that these are all backpatchable bugfixes.
Maybe 0002 could pass as not backpatchable since it disallows a command
that works today.  OTOH the feature is rarely used, so maybe a backpatch
is not welcome anyhow.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgindent && weirdness
Next
From: Tom Lane
Date:
Subject: Re: Resolving the python 2 -> python 3 mess