postgresql/src/backend
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
..
access Improve reporting of permission errors for array types 2012-06-15 22:55:03 +03:00
bootstrap Remove misplaced sanity check from heap_create(). 2012-06-14 09:58:53 -04:00
catalog Refer to the default foreign key match style as MATCH SIMPLE internally. 2012-06-17 20:16:44 -04:00
commands Refer to the default foreign key match style as MATCH SIMPLE internally. 2012-06-17 20:16:44 -04:00
executor Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
foreign Add GetForeignColumnOptions() to foreign.c, and add some documentation. 2012-03-07 18:20:58 -05:00
lib Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
libpq Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
main Make documentation of --help and --version options more consistent 2012-06-18 02:46:59 +03:00
nodes Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
optimizer Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
parser Refer to the default foreign key match style as MATCH SIMPLE internally. 2012-06-17 20:16:44 -04:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
postmaster Fix stats collector to recover nicely when system clock goes backwards. 2012-06-17 17:11:49 -04:00
regex Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
replication Prevent non-streaming replication connections from being selected sync slave 2012-06-11 15:17:38 +02:00
rewrite Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
snowball Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
storage Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
tcop Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
tsearch Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
utils Share RI trigger code between NO ACTION and RESTRICT cases. 2012-06-19 14:31:54 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Call check_keywords.pl in maintainer-check 2012-02-27 13:53:12 +02:00
Makefile Fix incorrect make maintainer-clean rule. 2012-04-07 18:16:50 -04:00
nls.mk Sort file list when creating gettext-files 2011-12-27 20:20:56 +02:00