| From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
|---|---|
| To: | solai v <solai(dot)cdac(at)gmail(dot)com> |
| Cc: | Aleksander Alekseev <aleksander(at)tigerdata(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: [PATCH] Remove unused PageIsPredicateLocked() |
| Date: | 2026-10-22 13:55:08 |
| Message-ID: | CAHGQGwHww5o8abim0DGVFNb5bBre2a+V1twhH2cu-J21rYGcaQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Oct 22, 2026 at 9:44 PM Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>
> On Tue, Sep 22, 2026 at 5:54 PM solai v <solai(dot)cdac(at)gmail(dot)com> wrote:
> > There are no functional issues
> > with the patch and it looks good to me.
>
> The patch looks good to me as well. Barring any objections, I will
> commit it.
BTW, while removing PageIsPredicateLocked(), I found that the
"INTERFACE ROUTINES" comment in predicate.c is outdated. For example,
it lists RegisterPredicateLockingXid(void), although the function takes
a TransactionId, and omits functions such as
CheckForSerializableConflictOutNeeded() and ShareSerializableXact().
Rather than updating the list, isn't it better to remove it? The declarations
are already available in the headers predicate.h, and maintaining
a duplicate list seems likely to result in further omissions and
outdated signatures.
Thought?
Regards,
--
Fujii Masao
| Attachment | Content-Type | Size |
|---|---|---|
| nocfbot-0002-Remove-the-redundant-interface-list-and-fix-funct.patch | application/octet-stream | 3.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dean Rasheed | 2026-10-22 13:55:49 | Re: [DEPARSE] EXPLAIN prints another ModifyTable's RETURNING aliases in a SubPlan |
| Previous Message | Greg Burd | 2026-10-22 13:51:59 | Re: [PATCH] pageinspect: validate line pointers before using them |