From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: more ALTER .. DEPENDS ON EXTENSION fixes |
Date: | 2020-02-17 23:56:03 |
Message-ID: | 20200217235603.GA32740@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
0002-Avoid-duplicates-in-ALTER-.-DEPENDS-ON-EXTENSION.patch | text/x-diff | 3.4 KB |
0003-Add-ALTER-.-NO-DEPENDS-ON.patch | text/x-diff | 18.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-02-17 23:57:49 | Re: Resolving the python 2 -> python 3 mess |
Previous Message | Tom Lane | 2020-02-17 23:42:20 | Re: pgindent && weirdness |