diff options
| author | Tom Lane | 2009-12-07 05:22:23 +0000 |
|---|---|---|
| committer | Tom Lane | 2009-12-07 05:22:23 +0000 |
| commit | 0cb65564e5f855b1e9aa145fd645352130f74646 (patch) | |
| tree | badcc3ee73a16d472f9e637246589d6b803e620f /src/include/parser | |
| parent | 8de7472b45859108761223fb19b396efaa8f0a4d (diff) | |
Add exclusion constraints, which generalize the concept of uniqueness to
support any indexable commutative operator, not just equality. Two rows
violate the exclusion constraint if "row1.col OP row2.col" is TRUE for
each of the columns in the constraint.
Jeff Davis, reviewed by Robert Haas
Diffstat (limited to 'src/include/parser')
| -rw-r--r-- | src/include/parser/kwlist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/parser/kwlist.h b/src/include/parser/kwlist.h index 42087742fa1..f07057c4306 100644 --- a/src/include/parser/kwlist.h +++ b/src/include/parser/kwlist.h @@ -11,7 +11,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/include/parser/kwlist.h,v 1.6 2009/11/05 23:24:27 tgl Exp $ + * $PostgreSQL: pgsql/src/include/parser/kwlist.h,v 1.7 2009/12/07 05:22:23 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -143,6 +143,7 @@ PG_KEYWORD("end", END_P, RESERVED_KEYWORD) PG_KEYWORD("enum", ENUM_P, UNRESERVED_KEYWORD) PG_KEYWORD("escape", ESCAPE, UNRESERVED_KEYWORD) PG_KEYWORD("except", EXCEPT, RESERVED_KEYWORD) +PG_KEYWORD("exclude", EXCLUDE, UNRESERVED_KEYWORD) PG_KEYWORD("excluding", EXCLUDING, UNRESERVED_KEYWORD) PG_KEYWORD("exclusive", EXCLUSIVE, UNRESERVED_KEYWORD) PG_KEYWORD("execute", EXECUTE, UNRESERVED_KEYWORD) |
