Re: [PATCH] DefaultACLs - Mailing list pgsql-hackers

From Petr Jelinek
Subject Re: [PATCH] DefaultACLs
Date
Msg-id 4ABB5697.6080401@pjmodos.net
Whole thread Raw
In response to Re: [PATCH] DefaultACLs  (Jan Urbański <wulczer@wulczer.org>)
Responses Re: [PATCH] DefaultACLs
List 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

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Streaming Replication patch for CommitFest 2009-09
Next
From: Jan Urbański
Date:
Subject: Re: [PATCH] DefaultACLs