Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: defacl-2009-09-24.diff.gz
Description: application/x-tar (18.3 KB)

In response to

Responses

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group