| From: | David Rowley <drowley(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix outdated comments regarding TupleTableSlots |
| Date: | 2023-03-30 03:37:30 |
| Message-ID: | E1phj6P-000PWI-Ai@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix outdated comments regarding TupleTableSlots
The tts_flag is named TTS_FLAG_SHOULDFREE, so use that instead of
TTS_SHOULDFREE, which is the name of the macro that checks for that flag.
Additionally, 4da597edf got rid of the TupleTableSlot.tts_tuple field but
forgot to update a comment which referenced that field. Fix that.
Reported-by: Zhen Mingyang <zhenmingyang(at)yeah(dot)net>
Reported-by: Richard Guo <guofenglinux(at)gmail(dot)com>
Discussion: https://postgr.es/m/1a96696c.9d3.187193989c3.Coremail.zhenmingyang@yeah.net
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/902ecd3bd4e733d273e69fd420df6fab4ffbe79b
Modified Files
--------------
src/backend/executor/execTuples.c | 9 +++++----
src/include/executor/tuptable.h | 10 +++++-----
2 files changed, 10 insertions(+), 9 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2023-03-30 05:56:58 | pgsql: Refactor pgoutput_change(). |
| Previous Message | Daniel Gustafsson | 2023-03-29 20:00:19 | pgsql: Support connection load balancing in libpq |