Re: Remove unnecessary code rom be_lo_put() - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Remove unnecessary code rom be_lo_put()
Date
Msg-id 1f5515ff-6d8d-4a03-a8c0-6542bbc083a7@eisentraut.org
Whole thread Raw
In response to Re: Remove unnecessary code rom be_lo_put()  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On 25.04.24 01:50, Michael Paquier wrote:
> On Wed, Apr 24, 2024 at 09:25:09AM -0400, Tom Lane wrote:
>> I agree.  Do you want to do the honors?
> 
> Good catch.  The same check happens when the object is opened.  Note
> that you should be able to remove utils/acl.h at the top of
> be-fsstubs.c as this would remove the last piece of code that does an
> ACL check in this file.  No objections with doing that now, removing
> this code.

utils/acl.h is still needed for object_ownercheck() called in 
be_lo_unlink().




pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: AIX support
Next
From: Peter Eisentraut
Date:
Subject: Re: Remove unnecessary code rom be_lo_put()