Re: CREATE FOREGIN TABLE LACUNA
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Robert Haas <robertmhaas@gmail.com>, David Fetter <david@fetter.org>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2012-03-14T21:38:12Z
Lists: pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes: > On ons, 2012-03-14 at 17:16 -0400, Robert Haas wrote: >> If a constraint is NOT ENFORCED, then the query planner presumably >> won't rely on it for planning purposes > Why do you presume that? What does SQL:2011 say exactly about the semantics of NOT ENFORCED? Is an implementation allowed to fail in undefined ways if a constraint is marked NOT ENFORCED and is not actually true? regards, tom lane