Re: A structure has changed but comment modifications maybe missed
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Richard Guo <guofenglinux@gmail.com>, 甄明洋 <zhenmingyang@yeah.net>, pgsql-bugs@postgresql.org
Date: 2023-03-30T02:02:09Z
Lists: pgsql-bugs
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix outdated comments regarding TupleTableSlots
- 902ecd3bd4e7 16.0 landed
David Rowley <dgrowleyml@gmail.com> writes: > I think the attached is what you have in mind. Can you confirm? tts_nvalid is still a thing, so I question your edit here: --- a/src/include/executor/tuptable.h +++ b/src/include/executor/tuptable.h @@ -68,8 +68,7 @@ * A TupleTableSlot can also be "empty", indicated by flag TTS_FLAG_EMPTY set * in tts_flags, holding no valid data. This is the only valid state for a * freshly-created slot that has not yet had a tuple descriptor assigned to - * it. In this state, TTS_SHOULDFREE should not be set in tts_flags, tts_tuple - * must be NULL and tts_nvalid zero. + * it. In this state, TTS_FLAG_SHOULDFREE should not be set in tts_flags. * * The tupleDescriptor is simply referenced, not copied, by the TupleTableSlot * code. The caller of ExecSetSlotDescriptor() is responsible for providing Andres would really be the expert about these changes though. regards, tom lane