postgresql/src/include
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
..
access Tweak TOAST code so that columns marked with MAIN storage strategy are 2009-07-22 01:21:22 +00:00
bootstrap Update copyright for 2009. 2009-01-01 17:24:05 +00:00
catalog Add system catalog columns pg_constraint.conindid and pg_trigger.tgconstrindid. 2009-07-28 02:56:31 +00:00
commands Add system catalog columns pg_constraint.conindid and pg_trigger.tgconstrindid. 2009-07-28 02:56:31 +00:00
executor Change do_tup_output() to take Datum/isnull arrays instead of a char * array, 2009-07-22 17:00:23 +00:00
foreign 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
lib Assorted minor refactoring in EXPLAIN. 2009-07-24 21:08:42 +00:00
libpq 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
mb 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
nodes Extend EXPLAIN to allow generic options to be specified. 2009-07-26 23:34:18 +00:00
optimizer Make GEQO's planning deterministic by having it start from a predictable 2009-07-16 20:55:44 +00:00
parser Make backend header files C++ safe 2009-07-16 06:33:46 +00:00
port Reserve the shared memory region during backend startup on Windows, so 2009-07-24 20:12:42 +00:00
portability 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
postmaster 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
regex 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
rewrite 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
snowball Update copyright for 2009. 2009-01-01 17:24:05 +00:00
storage Add s_lock support for SuperH architecture. 2009-07-27 05:31:05 +00:00
tcop 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
tsearch Make backend header files C++ safe 2009-07-16 06:33:46 +00:00
utils Add system catalog columns pg_constraint.conindid and pg_trigger.tgconstrindid. 2009-07-28 02:56:31 +00:00
c.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
fmgr.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
funcapi.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
getaddrinfo.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
getopt_long.h Remove a boatload of useless definitions of 'int optreset'. If we 2009-04-05 04:19:59 +00:00
Makefile Install src/include/utils/fmgroids.h on VPATH builds too. 2009-07-20 20:38:55 +00:00
miscadmin.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pg_config.h.in Add erand48() to the set of functions supported by our src/port/ library, 2009-07-16 17:43:52 +00:00
pg_config.h.win32 Stamp HEAD as 8.5devel. 2009-07-01 23:15:55 +00:00
pg_config_manual.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pg_trace.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
pgstat.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pgtime.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
port.h Add erand48() to the set of functions supported by our src/port/ library, 2009-07-16 17:43:52 +00:00
postgres.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
postgres_ext.h Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It 2007-02-06 09:16:08 +00:00
postgres_fe.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
rusagestub.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
windowapi.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00