Re: REASSIGN OWNED doesn't know how to deal with USER MAPPINGs - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: REASSIGN OWNED doesn't know how to deal with USER MAPPINGs
Date
Msg-id 20151211214757.GU2763@alvherre.pgsql
Whole thread Raw
In response to Re: REASSIGN OWNED doesn't know how to deal with USER MAPPINGs  (Jaime Casanova <jaime.casanova@2ndquadrant.com>)
List pgsql-hackers
Jaime Casanova wrote:
> On 10 December 2015 at 13:04, Jaime Casanova
> <jaime.casanova@2ndquadrant.com> wrote:
> > Hi,
> >
> > We just notice $SUBJECT. Attached patch fixes it by ignoring USER
> > MAPPINGs in shdepReassignOwned() just like it happens with default
> > ACLs.

Yep, I had already posted this patch elsewhere, and I just pushed it.

> BTW, shouldn't we at least give a warning on those cases instead of
> asuming that the user will know that some objects were ignored?

I don't think so.  This kind of thing is supposed to silent when nothing
is to be done.

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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bootstrap DATA is a pita
Next
From: Mark Dilger
Date:
Subject: Re: Bootstrap DATA is a pita