diff -cprN head/doc/src/sgml/ddl.sgml work/doc/src/sgml/ddl.sgml *** head/doc/src/sgml/ddl.sgml 2010-02-25 09:58:18.518068000 +0900 --- work/doc/src/sgml/ddl.sgml 2010-03-31 15:46:11.748532000 +0900 *************** CREATE TABLE order_items ( *** 845,850 **** --- 845,880 ---- . + + + Exclusion constraints + + + exclusion constraint + + + + constraint + exclusion + + + + Exclusion constraints ensure that that if any two rows are compared on + the specified column(s) or expression(s) using the specified operator(s), + not all of these comparisons will return TRUE. The syntax is: + + CREATE TABLE circles ( + c circle, + EXCLUDE USING gist (c WITH &&) + ); + + + + + See also CREATE + TABLE ... CONSTRAINT ... EXCLUDE for details. + + diff -cprN head/doc/src/sgml/ref/create_table.sgml work/doc/src/sgml/ref/create_table.sgml *** head/doc/src/sgml/ref/create_table.sgml 2010-03-01 10:46:55.122677000 +0900 --- work/doc/src/sgml/ref/create_table.sgml 2010-03-31 15:38:12.374337000 +0900 *************** CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY *** 455,461 **** ! EXCLUDE [ USING index_method ] ( exclude_element WITH operator [, ... ] ) index_parameters [ WHERE ( predicate ) ] --- 455,461 ---- ! EXCLUDE [ USING index_method ] ( exclude_element WITH operator [, ... ] ) index_parameters [ WHERE ( predicate ) ] diff -cprN head/doc/src/sgml/release-9.0.sgml work/doc/src/sgml/release-9.0.sgml *** head/doc/src/sgml/release-9.0.sgml 2010-03-24 11:50:12.991168000 +0900 --- work/doc/src/sgml/release-9.0.sgml 2010-03-31 15:23:51.604012000 +0900 *************** *** 285,291 **** Allow per-tablespace sequential and random page cost variables ! (seq_page_cost/(random_page_cost)) via ALTER TABLESPACE ... SET/RESET (Robert Haas) --- 285,291 ---- Allow per-tablespace sequential and random page cost variables ! (seq_page_cost and random_page_cost) via ALTER TABLESPACE ... SET/RESET (Robert Haas) *************** *** 811,818 **** This is enabled with the CREATE ! TABLE CONSTRAINT ... EXCLUDE clause. While uniqueness checks could be specified using this syntax, the real value of this feature is in using complex operators that do not have built-in constraints. --- 811,818 ---- This is enabled with the CREATE ! TABLE ... CONSTRAINT ... EXCLUDE clause. While uniqueness checks could be specified using this syntax, the real value of this feature is in using complex operators that do not have built-in constraints.