Refer to the default foreign key match style as MATCH SIMPLE internally.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f5297bdfe4c4a47376c41b96161fb55c2294a0b1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-06-18T00:16:44Z
Releases: 9.3.0
Refer to the default foreign key match style as MATCH SIMPLE internally.

Previously we followed the SQL92 wording, "MATCH <unspecified>", but since
SQL99 there's been a less awkward way to refer to the default style.

In addition to the code changes, pg_constraint.confmatchtype now stores
this match style as 's' (SIMPLE) rather than 'u' (UNSPECIFIED).  This
doesn't affect pg_dump or psql because they use pg_get_constraintdef()
to reconstruct foreign key definitions.  But other client-side code might
examine that column directly, so this change will have to be marked as
an incompatibility in the 9.3 release notes.

Files