Thursday, May 8, 2008

Re: [PATCHES] Updatable views

Am Donnerstag, 8. Mai 2008 schrieb Simon Riggs:
>  CREATE RULE somename AS ON INSERT TO x WHERE where-clause DO INSERT ...
>
> which seems straightforward, no?

Double evaluation is the key word. The conclusion was more or less that you
can't implement check constraints using the rules system. You need to check
them in the executor.

--
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

No comments: