Re: unexpected default ACL type 83 - Mailing list pgsql-hackers

From Robert Haas
Subject Re: unexpected default ACL type 83
Date
Msg-id BANLkTinPkXUAZRQifKv74e=peZwApRQStw@mail.gmail.com
Whole thread Raw
In response to unexpected default ACL type 83  (Shigeru Hanada <hanada@metrosystems.co.jp>)
List pgsql-hackers
On Wed, Apr 20, 2011 at 7:34 AM, Shigeru Hanada
<hanada@metrosystems.co.jp> wrote:
> I found that DROP OWNED BY can cause $SUBJECT.
>
> How to reproduce the error:
>
> ----
> CREATE USER foo;
> ALTER DEFAULT PRIVILEGES GRANT ALL ON SEQUENCES TO foo;
> DROP OWNED BY foo;
> ----
>
> Attached patch would fix this issue.

Nice catch.  Committed and back-patched to 9.0.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pg_dump --binary-upgrade vs. ALTER TYPE ... DROP ATTRIBUTE
Next
From: Tom Lane
Date:
Subject: Re: pg_dump --binary-upgrade vs. ALTER TYPE ... DROP ATTRIBUTE