pgsql: Fix outdated comments regarding TupleTableSlots - Mailing list pgsql-committers

From David Rowley
Subject pgsql: Fix outdated comments regarding TupleTableSlots
Date
Msg-id [email protected]
Whole thread Raw
List 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 <[email protected]>
Reported-by: Richard Guo <[email protected]>
Discussion: https://postgr.es/m/[email protected]

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(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Support connection load balancing in libpq
Next
From: Amit Kapila
Date:
Subject: pgsql: Refactor pgoutput_change().