mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
provided by Andrew.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* Routines to handle unique'ing of queries where appropriate
|
||||
*
|
||||
* Unique is a very simple node type that just filters out duplicate
|
||||
* tuples from a stream of sorted tuples from its subplan. It's essentially
|
||||
* tuples from a stream of sorted tuples from its subplan. It's essentially
|
||||
* a dumbed-down form of Group: the duplicate-removal functionality is
|
||||
* identical. However, Unique doesn't do projection nor qual checking,
|
||||
* so it's marginally more efficient for cases where neither is needed.
|
||||
@ -16,7 +16,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeUnique.c,v 1.60 2009/04/02 20:59:10 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeUnique.c,v 1.61 2009/06/11 14:48:57 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -58,8 +58,8 @@ ExecUnique(UniqueState *node)
|
||||
|
||||
/*
|
||||
* now loop, returning only non-duplicate tuples. We assume that the
|
||||
* tuples arrive in sorted order so we can detect duplicates easily.
|
||||
* The first tuple of each group is returned.
|
||||
* tuples arrive in sorted order so we can detect duplicates easily. The
|
||||
* first tuple of each group is returned.
|
||||
*/
|
||||
for (;;)
|
||||
{
|
||||
|
Reference in New Issue
Block a user