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

From Alvaro Herrera
Subject more ALTER .. DEPENDS ON EXTENSION fixes
Date
Msg-id 20200217225333.GA30974@alvherre.pgsql
Whole thread Raw
Responses Re: more ALTER .. DEPENDS ON EXTENSION fixes
List pgsql-hackers
ALTER ... DEPENDS ON EXTENSION (dependencies of type 'x' on an
extension) was found to have a few problems.  One was fixed as
CVE-2020-1720.  Other issues:

* pg_dump does not reproduce database state correctly.
  The attached 0000 fixes it.

* 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.

I'll send patches for the other two issues as replies later.  (I
discovered an issue in my 0001, for the second one, just as I was
sending.)

-- 
Álvaro Herrera

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: pgindent && weirdness
Next
From: Jesse Zhang
Date:
Subject: Re: Resolving the python 2 -> python 3 mess