Update comment for pg_constraint.conindid to mention that it's used for

exclusion constraints.  Not sure how we managed to update the comment for
it in catalogs.sgml but miss this one.
This commit is contained in:
Tom Lane 2010-03-11 03:36:22 +00:00
parent 70aedc0c55
commit 4df5c6c719

View File

@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/catalog/pg_constraint.h,v 1.38 2010/02/26 02:01:21 momjian Exp $ * $PostgreSQL: pgsql/src/include/catalog/pg_constraint.h,v 1.39 2010/03/11 03:36:22 tgl Exp $
* *
* NOTES * NOTES
* the genbki.pl script reads this file and generates .bki * the genbki.pl script reads this file and generates .bki
@ -64,11 +64,11 @@ CATALOG(pg_constraint,2606)
/* /*
* conindid links to the index supporting the constraint, if any; * conindid links to the index supporting the constraint, if any;
* otherwise it's 0. This is used for unique and primary-key constraints, * otherwise it's 0. This is used for unique, primary-key, and exclusion
* and less obviously for foreign-key constraints (where the index is a * constraints, and less obviously for foreign-key constraints (where the
* unique index on the referenced relation's referenced columns). Notice * index is a unique index on the referenced relation's referenced
* that the index is on conrelid in the first case but confrelid in the * columns). Notice that the index is on conrelid in the first case but
* second. * confrelid in the second.
*/ */
Oid conindid; /* index supporting this constraint */ Oid conindid; /* index supporting this constraint */