postgresql/src/include/commands
Tom Lane c1b9ec24ef Add system catalog columns pg_constraint.conindid and pg_trigger.tgconstrindid.
conindid is the index supporting a constraint.  We can use this not only for
unique/primary-key constraints, but also foreign-key constraints, which
depend on the unique index that constrains the referenced columns.
tgconstrindid is just copied from the constraint's conindid field, or is
zero for triggers not associated with constraints.

This is mainly intended as infrastructure for upcoming patches, but it has
some virtue in itself, since it exposes a relationship that you formerly
had to grovel in pg_depend to determine.  I simplified one information_schema
view accordingly.  (There is a pg_dump query that could also use conindid,
but I left it alone because it wasn't clear it'd get any faster.)
2009-07-28 02:56:31 +00:00
..
alter.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
async.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
cluster.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
comment.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
conversioncmds.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
copy.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
dbcommands.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
defrem.h Make backend header files C++ safe 2009-07-16 06:33:46 +00:00
discard.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
explain.h Extend EXPLAIN to allow generic options to be specified. 2009-07-26 23:34:18 +00:00
lockcmds.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
portalcmds.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
prepare.h Extend EXPLAIN to allow generic options to be specified. 2009-07-26 23:34:18 +00:00
proclang.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
schemacmds.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
sequence.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
tablecmds.h Make backend header files C++ safe 2009-07-16 06:33:46 +00:00
tablespace.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
trigger.h Add system catalog columns pg_constraint.conindid and pg_trigger.tgconstrindid. 2009-07-28 02:56:31 +00:00
typecmds.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
user.h pgindent run for 8.2. 2006-10-04 00:30:14 +00:00
vacuum.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
variable.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
version.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
view.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00