Re: Updateable VIEWS and the manual

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Updateable VIEWS and the manual
Date: 2012-12-02 21:19:17
Message-ID: 8196.1354483157@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thomas Kellerer <spam_eater(at)gmx(dot)net> writes:
> I just noticed the following statement in the CREATE VIEW documentation (9.2 and 9.1):

> Currently, views are read only: the system will not allow an insert,
> update, or delete on a view. You can get the effect of an updatable view by
> creating rules that rewrite inserts, etc. on the view into appropriate actions
> on other tables. For more information see CREATE RULE.

> Wouldn't it make more sense to refer to INSTEAD OF triggers?

Done, thanks for pointing it out.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message rahul143 2012-12-03 05:12:54 guids / bytea and index use ?
Previous Message rahul143 2012-12-02 16:09:17 Bug in postgres 9.2 installation: pg_archivecleanup: command not found