| From: | Fujii Masao <fujii(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Remove stale comment and redundant assignment in BuildTupleHashT |
| Date: | 2026-09-10 07:13:03 |
| Message-ID: | E1x4Yxy-00000004FnL-1EX5@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Remove stale comment and redundant assignment in BuildTupleHashTable()
Since commit bf6c614a2f2, BuildTupleHashTable() has created the table
slot unconditionally rather than on the first lookup. However, the
comment still described the old behavior, and tableslot was still
redundantly initialized to NULL before being assigned the new slot.
Remove the stale comment and redundant assignment.
Author: Tatsuya Kawata <kawatatatsuya0913(at)gmail(dot)com>
Reviewed-by: Quan Zongliang <quanzongliang(at)yeah(dot)net>
Discussion: https://postgr.es/m/CAHza6qfduAcYc3HdXP5DYscNstz0ic6ctHTNH70VL1Uy-nJ6zg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bd9d6ffa1aea612cc8da31f7b30d5573747b86f8
Modified Files
--------------
src/backend/executor/execGrouping.c | 1 -
1 file changed, 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Langote | 2026-09-10 08:18:15 | pgsql: Clarify RI tuple-lock result handling comments |
| Previous Message | Amit Langote | 2026-09-10 05:46:01 | pgsql: Remove batching from RI fast-path checks |