Re: [PATCH] DefaultACLs

From: Petr Jelinek <pjmodos(at)pjmodos(dot)net>
To: Jan Urbański <wulczer(at)wulczer(dot)org>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] DefaultACLs
Date: 2009-09-24 11:23:03
Message-ID: 4ABB5697.6080401@pjmodos.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jan Urbański napsal(a):
> Petr Jelinek wrote:
>
>> I made some more small adjustments - mainly renaming stuff after Tom's
>> comment on anonymous code blocks patch and removed one unused shared
>> dependency.
>>
>
> Hi,
>
> the patch still has some issues with dependency handling:
>
> postgres=# create role test;
> CREATE ROLE
> postgres=# create role test2;
> CREATE ROLE
> postgres=# create schema s;
> CREATE SCHEMA
> postgres=# alter default privileges in schema s for user test2 grant
> insert on table to test;
> ALTER DEFAULT PRIVILEGES
> postgres=# drop role test2;
> DROP ROLE
> postgres=# drop schema s;
> ERROR: could not find tuple for default acls 16387
> postgres=#
>

Fixed and added regression test for dependency handling.

--
Regards
Petr Jelinek (PJMODOS)

Attachment Content-Type Size
defacl-2009-09-24.diff.gz application/x-tar 18.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Urbański 2009-09-24 11:57:50 Re: [PATCH] DefaultACLs
Previous Message Heikki Linnakangas 2009-09-24 11:03:46 Re: Streaming Replication patch for CommitFest 2009-09