REASSIGN OWNED doesn't know how to deal with USER MAPPINGs

From: Jaime Casanova <jaime(dot)casanova(at)2ndquadrant(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: REASSIGN OWNED doesn't know how to deal with USER MAPPINGs
Date: 2015-12-10 18:04:54
Message-ID: CAJGNTeMBMYJo2g7qWaERn+EjPozNuncJ7nA1YqumfUPKe4kSVQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

We just notice $SUBJECT. Attached patch fixes it by ignoring USER
MAPPINGs in shdepReassignOwned() just like it happens with default
ACLs.

DROP OWNED manages it well.

--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación

Attachment Content-Type Size
fix_reassing_owned.patch text/x-patch 863 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2015-12-10 18:10:03 Re: REASSIGN OWNED doesn't know how to deal with USER MAPPINGs
Previous Message Andres Freund 2015-12-10 18:01:42 Re: mdnblocks() sabotages error checking in _mdfd_getseg()