Update obsolete comment.

This commit is contained in:
Tom Lane 2004-03-02 22:05:24 +00:00
parent 0c6e97db47
commit 13f466167d

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/executor/nodeUnique.c,v 1.41 2003/11/29 19:51:48 pgsql Exp $ * $PostgreSQL: pgsql/src/backend/executor/nodeUnique.c,v 1.42 2004/03/02 22:05:24 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -104,9 +104,13 @@ ExecUnique(UniqueState *node)
* *
* Note that we manage the copy ourselves. We can't rely on the result * Note that we manage the copy ourselves. We can't rely on the result
* tuple slot to maintain the tuple reference because our caller may * tuple slot to maintain the tuple reference because our caller may
* replace the slot contents with a different tuple (see junk filter * replace the slot contents with a different tuple. We assume that
* handling in execMain.c). We assume that the caller will no longer * the caller will no longer be interested in the current tuple after
* be interested in the current tuple after he next calls us. * he next calls us.
*
* tgl 3/2004: the above concern is no longer valid; junkfilters used to
* modify their input's return slot but don't anymore, and I don't think
* anyplace else does either. Not worth changing this code though.
*/ */
if (node->priorTuple != NULL) if (node->priorTuple != NULL)
heap_freetuple(node->priorTuple); heap_freetuple(node->priorTuple);