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

From Peter Eisentraut
Subject Re: CREATE FOREGIN TABLE LACUNA
Date
Msg-id 1342126827.19702.6.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: CREATE FOREGIN TABLE LACUNA  (Dean Rasheed <dean.a.rasheed@gmail.com>)
List pgsql-hackers
On lör, 2012-06-23 at 23:08 +0100, Dean Rasheed wrote:
> I spotted a couple of other issues during testing:
> 
> * You're still allowing INCLUDING DEFAULTS and INCLUDING STORAGE, even
> though these options are not supported on foreign tables.
> 
> * If I do INCLUDING ALL, I get an error because of the unsupported
> options. I think that "ALL" in this context needs to be made to mean
> all the options that foreign tables support (just COMMENTS at the
> moment).

Note that when I added CREATE TABLE LIKE to support composite types, it
was decided to ignore non-applicable options (like copying indexes from
types or views etc.).  The same should be done here, unless we have
reasons to revise the earlier decision.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: sign mismatch in walreceiver.c
Next
From: Peter Eisentraut
Date:
Subject: Re: compiler warnings on the buildfarm