Skip to content

Commit 13f4661

Browse files
committed
Update obsolete comment.
1 parent 0c6e97d commit 13f4661

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/backend/executor/nodeUnique.c

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy