Re: CREATE FOREGIN TABLE LACUNA - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: CREATE FOREGIN TABLE LACUNA
Date
Msg-id 1331757109.22638.1.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: CREATE FOREGIN TABLE LACUNA  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: CREATE FOREGIN TABLE LACUNA  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On ons, 2012-03-14 at 10:27 -0400, Tom Lane wrote:
> That opinion seems to me to connect to the recently-posted patch to
> make contrib/file_fdw enforce NOT NULL constraints.  Should we instead
> have the position that constraints declared for foreign tables are
> statements that we can take on faith, and it's the user's fault if
> they are wrong?

We should look into the NOT ENFORCED stuff for constraints in SQL:2011.
Then we can have both, and both for regular and foreign tables.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Syntax error and reserved keywords
Next
From: Andrew Dunstan
Date:
Subject: Re: patch for parallel pg_dump