Re: Using view - Mailing list pgsql-general

From Stephan Szabo
Subject Re: Using view
Date
Msg-id 20040730055650.C34403@megazone.bigpanda.com
Whole thread Raw
In response to Using view  (Secrétariat <ets@rolland-fr.com>)
List pgsql-general
On Fri, 30 Jul 2004, [iso-8859-1] Secr�tariat wrote:

> Why can't I update data when I use a VIEW instead of a TABLE ?
> How can I do similar action ?

We require explicit rules to be made for updating the view.  Technically
there's a very small set of views for which we would need to make the
rules automatically to be spec complient, but those views are really
limited, IIRC, no joins, no group by, no set functions, no aggregates, and
some other limitations.  It'd be nice to be able to handle more
complicated cases automatically, but it's non-trivial.


pgsql-general by date:

Previous
From: Christophe Musielak
Date:
Subject: 7.2 - 7.4.2 production server migration issue
Next
From: Bruno Wolff III
Date:
Subject: Re: 7.2 - 7.4.2 production server migration issue