~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-security

« back to all changes in this revision

Viewing changes to src/include/nodes/nodes.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-11 16:59:35 UTC
  • mfrom: (5.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090711165935-jfwin6gfrxf0gfsi
Tags: 8.4.0-2
* debian/libpq-dev.install: Ship catalog/genbki.h. (Closes: #536139)
* debian/rules: Drop --enable-cassert for final release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
8
8
 * Portions Copyright (c) 1994, Regents of the University of California
9
9
 *
10
 
 * $PostgreSQL: pgsql/src/include/nodes/nodes.h,v 1.222 2009/04/04 21:12:31 tgl Exp $
 
10
 * $PostgreSQL: pgsql/src/include/nodes/nodes.h,v 1.223 2009/06/11 14:49:11 momjian Exp $
11
11
 *
12
12
 *-------------------------------------------------------------------------
13
13
 */
425
425
        _result->type = (tag); \
426
426
        _result; \
427
427
})
428
 
 
429
428
#else
430
429
 
431
430
/*
443
442
        newNodeMacroHolder->type = (tag), \
444
443
        newNodeMacroHolder \
445
444
)
446
 
 
447
445
#endif   /* __GNUC__ */
448
446
 
449
447
 
523
521
typedef enum JoinType
524
522
{
525
523
        /*
526
 
         * The canonical kinds of joins according to the SQL JOIN syntax.
527
 
         * Only these codes can appear in parser output (e.g., JoinExpr nodes).
 
524
         * The canonical kinds of joins according to the SQL JOIN syntax. Only
 
525
         * these codes can appear in parser output (e.g., JoinExpr nodes).
528
526
         */
529
527
        JOIN_INNER,                                     /* matching tuple pairs only */
530
528
        JOIN_LEFT,                                      /* pairs + unmatched LHS tuples */
532
530
        JOIN_RIGHT,                                     /* pairs + unmatched RHS tuples */
533
531
 
534
532
        /*
535
 
         * Semijoins and anti-semijoins (as defined in relational theory) do
536
 
         * not appear in the SQL JOIN syntax, but there are standard idioms for
537
 
         * representing them (e.g., using EXISTS).  The planner recognizes these
 
533
         * Semijoins and anti-semijoins (as defined in relational theory) do not
 
534
         * appear in the SQL JOIN syntax, but there are standard idioms for
 
535
         * representing them (e.g., using EXISTS).      The planner recognizes these
538
536
         * cases and converts them to joins.  So the planner and executor must
539
537
         * support these codes.  NOTE: in JOIN_SEMI output, it is unspecified
540
 
         * which matching RHS row is joined to.  In JOIN_ANTI output, the row
541
 
         * is guaranteed to be null-extended.
 
538
         * which matching RHS row is joined to.  In JOIN_ANTI output, the row is
 
539
         * guaranteed to be null-extended.
542
540
         */
543
541
        JOIN_SEMI,                                      /* 1 copy of each LHS row that has match(es) */
544
542
        JOIN_ANTI,                                      /* 1 copy of each LHS row that has no match */
558
556
/*
559
557
 * OUTER joins are those for which pushed-down quals must behave differently
560
558
 * from the join's own quals.  This is in fact everything except INNER and
561
 
 * SEMI joins.  However, this macro must also exclude the JOIN_UNIQUE symbols
 
559
 * SEMI joins.  However, this macro must also exclude the JOIN_UNIQUE symbols
562
560
 * since those are temporary proxies for what will eventually be an INNER
563
561
 * join.
564
562
 *