Re: A structure has changed but comment modifications maybe missed - Mailing list pgsql-bugs

From Tom Lane
Subject Re: A structure has changed but comment modifications maybe missed
Date
Msg-id 4119644.1680141729@sss.pgh.pa.us
Whole thread Raw
In response to Re: A structure has changed but comment modifications maybe missed  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: A structure has changed but comment modifications maybe missed
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: David Rowley
Date:
Subject: Re: A structure has changed but comment modifications maybe missed
Next
From: PG Bug reporting form
Date:
Subject: BUG #17879: ERROR: unrecognized node type: 2139062143