From: | Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com> |
---|---|
To: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
Cc: | Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Trivial fix for comment of function table_tuple_lock |
Date: | 2025-09-22 22:43:50 |
Message-ID: | CAEoWx2m+H4nfbB3r=Rjy8xRQ4FhN=NcAOtZByfhde5+pU9duoA@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Sep 22, 2025 at 11:41 PM Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>
> I noticed a few other issues. Wouldn’t it be better to fix these together?
>
> * changingPart is listed as an output parameter for table_tuple_delete(),
> but it looks like an input.
>
Fixed. changingPart is of type bool, it cannot pass out anything.
> * slot is listed as an input parameter for table_tuple_update(), but it
> seems
> to be an output.
>
Fixed. Yes, slot will get some field assigned inside the function.
> * The comment for update_indexes in table_tuple_update() is mis-indented.
>
Fixed. Other parameters use a tab in front, while update_indexes used two
white-space in front.
> * Not an issue, but it might be clearer to add a blank line between the
> input
> and output parameter comments in table_tuple_delete() and
> table_tuple_update().
>
>
Added new lines.
Chao Li (Evan)
---------------------
HighGo Software Co., Ltd.
https://www.highgo.com/
Attachment | Content-Type | Size |
---|---|---|
v3-0001-Fix-incorrect-parameters-in-comments-in-tableam.h.patch | application/octet-stream | 4.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Chao Li | 2025-09-22 23:20:42 | Re: Fix overflow of nbatch |
Previous Message | Jacob Champion | 2025-09-22 22:35:22 | Re: Updating IPC::Run in CI? |