postgresql/src/backend/utils
Tom Lane fe3db74002 Share RI trigger code between NO ACTION and RESTRICT cases.
These triggers are identical except for whether ri_Check_Pk_Match is to be
called, so factor out the common code to save a couple hundred lines.

Also, eliminate null-column checks in ri_Check_Pk_Match, since they're
duplicate with the calling functions and require unnecessary complication
in its API statement.

Simplify the way code is shared between RI_FKey_check_ins and
RI_FKey_check_upd, too.
2012-06-19 14:31:54 -04:00
..
adt Share RI trigger code between NO ACTION and RESTRICT cases. 2012-06-19 14:31:54 -04:00
cache Remove RELKIND_UNCATALOGED. 2012-06-14 09:47:30 -04:00
error Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
fmgr Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
hash Move CRC tables to libpgport, and provide them in a separate include file. 2012-02-28 19:53:39 -05:00
init Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
mb Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
misc Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
mmgr Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
resowner Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
sort Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
time Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
errcodes.txt Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Gen_dummy_probes.sed Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Gen_fmgrtab.pl Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
generate-errcodes.pl Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Makefile Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
probes.d Make group commit more effective. 2012-01-30 16:53:48 +02:00