| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Remove unnecessary code rom be_lo_put() |
| Date: | 2024-04-25 08:17:00 |
| Message-ID: | 1f5515ff-6d8d-4a03-a8c0-6542bbc083a7@eisentraut.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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().
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2024-04-25 08:26:41 | Re: Remove unnecessary code rom be_lo_put() |
| Previous Message | Alvaro Herrera | 2024-04-25 08:16:34 | Re: AIX support |