* Robert Haas (robertmh...@gmail.com) wrote: > On Fri, Dec 4, 2015 at 3:22 PM, Stephen Frost <sfr...@snowman.net> wrote: > > * Alvaro Herrera (alvhe...@2ndquadrant.com) wrote: > >> Stephen Frost wrote: > >> > Still, I'll get a patch worked up for it and then we can discuss the > >> > merits of that patch going in to 9.5 now versus just into HEAD. > >> > >> Cool. > > > > While working on the DROP OWNED BY patch, and part of what took me a bit > > longer with it, I came to the realiziation that ALTER POLICY wasn't > > handling dependencies quite right. All of the policy's dependencies > > would be dropped, but then only those objects referred to in the ALTER > > POLICY command would have dependencies recreated for them. > > > > The attached patch fixes that (using the same approach that I used in > > the DROP OWNED BY patch). > > > > Comments welcome, as always. > > > > I'll plan to apply these two patches in a couple of days. > > It's been a week?
I've pushed these now. Thanks! Stephen
Description: Digital signature