From: | Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp> |
---|---|
To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Remove unnecessary code rom be_lo_put() |
Date: | 2024-04-25 08:41:55 |
Message-ID: | 20240425174155.79e286c508e6f0b827feccef@sraoss.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, 25 Apr 2024 10:26:41 +0200
Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
> On 24.04.24 15:25, Tom Lane wrote:
> > Peter Eisentraut <peter(at)eisentraut(dot)org> writes:
> >> On 24.04.24 11:59, Yugo NAGATA wrote:
> >>> I noticed that a permission check is performed in be_lo_put()
> >>> just after returning inv_open(), but teh permission should be
> >>> already checked in inv_open(), so I think we can remove this
> >>> part of codes. I attached a patch for this fix.
> >
> >> Yes, I think you are right.
> >
> > I agree. Do you want to do the honors?
>
> done
>
Thank you!
Regards,
Yugo Nagata
--
Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>
From | Date | Subject | |
---|---|---|---|
Next Message | Andrey M. Borodin | 2024-04-25 08:51:59 | Re: broken reading on standby (PostgreSQL 16.2) |
Previous Message | Peter Eisentraut | 2024-04-25 08:26:41 | Re: Remove unnecessary code rom be_lo_put() |