Re: more ALTER .. DEPENDS ON EXTENSION fixes
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Ibrar Ahmed <ibrar.ahmad@gmail.com>
Cc: Ahsan Hadi <ahsan.hadi@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-03-11T14:14:12Z
Lists: pgsql-hackers
On 2020-Mar-05, Alvaro Herrera wrote: > On 2020-Mar-05, Ibrar Ahmed wrote: > > > Is this intentional that there is no error when removing a non-existing > > dependency? > > Hmm, I think we can do nothing silently if nothing is called for. > So, yes, that seems to be the way it should work. I pushed 0002 to all branches (9.6+), after modifying it to silently do nothing instead of throwing an error when the dependency exists -- same we discussed here, for the other form of the command. I just noticed that I failed to credit Ahsan Hadi as reviewer for this patch :-( Thanks for reviewing. I'll see about 0001 next, also backpatched to 9.6. I'm still not sure whether to apply 0003 (+ your tab-completion patch, thanks for it) to backbranches or just to master. It seems legitimate to see it as a feature addition, but OTOH the overall feature is not complete without it ... -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Add tab-completion for ALTER INDEX .. [NO] DEPENDS ON
- 1e324cb0e761 13.0 landed
-
Add ALTER .. NO DEPENDS ON
- 5fc703946bf3 13.0 landed
-
Add pg_dump support for ALTER obj DEPENDS ON EXTENSION
- f977e6dec8a0 12.3 landed
- e70187c9b47c 11.8 landed
- d04e342ba404 10.13 landed
- b08dee24a557 13.0 landed
- 2b9d70159154 9.6.18 landed
-
Avoid duplicates in ALTER ... DEPENDS ON EXTENSION
- b7739ebecdcc 12.3 landed
- 899a04f5ed61 13.0 landed
- 7c094a11c70d 11.8 landed
- 73b31e784d64 9.6.18 landed
- 3dfd2d6cd28a 10.13 landed