Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4df5c6c

Browse files
committed
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.
1 parent 70aedc0 commit 4df5c6c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/include/catalog/pg_constraint.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $PostgreSQL: pgsql/src/include/catalog/pg_constraint.h,v 1.38 2010/02/26 02:01:21 momjian Exp $
11+
* $PostgreSQL: pgsql/src/include/catalog/pg_constraint.h,v 1.39 2010/03/11 03:36:22 tgl Exp $
1212
*
1313
* NOTES
1414
* the genbki.pl script reads this file and generates .bki
@@ -64,11 +64,11 @@ CATALOG(pg_constraint,2606)
6464

6565
/*
6666
* conindid links to the index supporting the constraint, if any;
67-
* otherwise it's 0. This is used for unique and primary-key constraints,
68-
* and less obviously for foreign-key constraints (where the index is a
69-
* unique index on the referenced relation's referenced columns). Notice
70-
* that the index is on conrelid in the first case but confrelid in the
71-
* second.
67+
* otherwise it's 0. This is used for unique, primary-key, and exclusion
68+
* constraints, and less obviously for foreign-key constraints (where the
69+
* index is a unique index on the referenced relation's referenced
70+
* columns). Notice that the index is on conrelid in the first case but
71+
* confrelid in the second.
7272
*/
7373
Oid conindid; /* index supporting this constraint */
7474

0 commit comments

Comments
 (0)