Re: Quick coding question with acl fixes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Quick coding question with acl fixes
Date
Msg-id 10002.1090728051@sss.pgh.pa.us
Whole thread Raw
In response to Re: Quick coding question with acl fixes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Quick coding question with acl fixes  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:
> Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
>> When I run through the acl changing all references from the old owner to 
>> the new owner, should I combine the resulting acls if possible?  Because 
>> if the new owner already has some acls on that item, they will end up 
>> with two acls.

> If possible ... how painful would it be to do?

Actually it looks like you'd better, because for example aclupdate
assumes there's only one entry for a given grantor/grantee pair.

BTW, are you sure Fabien did not already solve this problem in his
pending patch?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Quick coding question with acl fixes
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Quick coding question with acl fixes