Fix outdated comments regarding TupleTableSlots

David Rowley <drowley@postgresql.org>

Commit: 902ecd3bd4e733d273e69fd420df6fab4ffbe79b
Author: David Rowley <drowley@postgresql.org>
Date: 2023-03-30T03:37:03Z
Releases: 16.0
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@yeah.net>
Reported-by: Richard Guo <guofenglinux@gmail.com>
Discussion: https://postgr.es/m/1a96696c.9d3.187193989c3.Coremail.zhenmingyang@yeah.net

Files

PathChange+/−
src/backend/executor/execTuples.c modified +5 −4
src/include/executor/tuptable.h modified +5 −5

Discussion