Re: unexpected default ACL type 83

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Shigeru Hanada <hanada(at)metrosystems(dot)co(dot)jp>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: unexpected default ACL type 83
Date: 2011-04-21 02:26:43
Message-ID: BANLkTinPkXUAZRQifKv74e=peZwApRQStw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Apr 20, 2011 at 7:34 AM, Shigeru Hanada
<hanada(at)metrosystems(dot)co(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-04-21 02:51:01 Re: pg_dump --binary-upgrade vs. ALTER TYPE ... DROP ATTRIBUTE
Previous Message Robert Haas 2011-04-21 02:02:50 Re: pg_dump --binary-upgrade vs. ALTER TYPE ... DROP ATTRIBUTE