postgresql/src/backend/commands
Tom Lane a0c6dfeecf Allow default expressions to be attached to columns of foreign tables.
There's still some discussion about exactly how postgres_fdw ought to
handle this case, but there seems no debate that we want to allow defaults
to be used for inserts into foreign tables.  So remove the core-code
restrictions that prevented it.

While at it, get rid of the special grammar productions for CREATE FOREIGN
TABLE, and instead add explicit FEATURE_NOT_SUPPORTED error checks for the
disallowed cases.  This makes the grammar a shade smaller, and more
importantly results in much more intelligible error messages for
unsupported cases.  It's also one less thing to fix if we ever start
supporting constraints on foreign tables.
2013-03-12 17:37:07 -04:00
..
aggregatecmds.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
alter.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
analyze.c Arrange to cache FdwRoutine structs in foreign tables' relcache entries. 2013-03-06 23:48:09 -05:00
async.c Fix bogus when-to-deregister-from-listener-array logic. 2013-02-13 12:48:05 -05:00
cluster.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
collationcmds.c
comment.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
constraint.c
conversioncmds.c
copy.c Support writable foreign tables. 2013-03-10 14:16:02 -04:00
createas.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
dbcommands.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
define.c
discard.c
dropcmds.c
event_trigger.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
explain.c Support writable foreign tables. 2013-03-10 14:16:02 -04:00
extension.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
foreigncmds.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
functioncmds.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
indexcmds.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
lockcmds.c
Makefile Add a materialized view relations. 2013-03-03 18:23:31 -06:00
matview.c WAL-log the extension of a new empty MV heap which is being populated. 2013-03-06 17:15:34 -06:00
opclasscmds.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
operatorcmds.c
portalcmds.c
prepare.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
proclang.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
schemacmds.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
seclabel.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
sequence.c Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
tablecmds.c Allow default expressions to be attached to columns of foreign tables. 2013-03-12 17:37:07 -04:00
tablespace.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
trigger.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
tsearchcmds.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
typecmds.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
user.c Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
vacuum.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
vacuumlazy.c Correct tense in log message 2013-02-23 23:30:14 -05:00
variable.c
view.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00