Re: SQL/MED - core functionality - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject Re: SQL/MED - core functionality
Date
Msg-id AANLkTimxcoJxbvE0jxMYVdzg0Qb-=smN8CP3qY0k8MPP@mail.gmail.com
Whole thread Raw
In response to Re: SQL/MED - core functionality  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: SQL/MED - core functionality  (David Fetter <david@fetter.org>)
Re: SQL/MED - core functionality  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, Dec 14, 2010 at 23:45, Robert Haas <robertmhaas@gmail.com> wrote:
>> We need RULEs or INSTEAD OF TRIGGERs to support updatable foreign tables.
>
> We do?  Why can't the support for updating foreign tables be built-in
> rather than trigger-based?

Do we have any concrete idea for the built-in update feature?
There are no definitions in the SQL standard about interface for updates.

So, I think RULE and TRIGGER are the best solution for now.
In addition, even if we support some kinds of built-in update feature,
I still think RULE and TRIGGER are useful, for example, logging purpose.

--
Itagaki Takahiro


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Tab completion for view triggers in psql
Next
From: David Fetter
Date:
Subject: Re: SQL/MED - core functionality