Re: [ADMIN] Editable Views - Mailing list pgsql-general

From David G Johnston
Subject Re: [ADMIN] Editable Views
Date
Msg-id 1405703990457-5811982.post@n5.nabble.com
Whole thread Raw
In response to [ADMIN] Editable Views  ("Ferrell, Denise CTR NSWCDD, Z11" <denise.ferrell.ctr@navy.mil>)
List pgsql-general
Ferrell, Denise CTR NSWCDD, Z11 wrote
> Using PostgreSQL 9.3 on Linux Red-Hat platform.
>
> Does PostgreSQL allow editable views?

Please do not cross-post, even within these mailing lists.  In almost all
cases it is sufficient to post to -general.  And besides, this is not really
a server administration question.

Google: postgresql editable views 9.3

The short answer from the search is that you can as-of 9.1

While no official pages come up the bulk of the links do make reference to
using triggers to update views.  Looking then at the documentation for
CREATE TRIGGER

http://www.postgresql.org/docs/9.1/static/sql-createtrigger.html

You will see that as of 9.1 INSTEAD OF triggers on views are possible.

David J.





--
View this message in context: http://postgresql.1045698.n5.nabble.com/ADMIN-Editable-Views-tp5811973p5811982.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: "Ferrell, Denise CTR NSWCDD, Z11"
Date:
Subject: [ADMIN] Editable Views
Next
From: Frank Pinto
Date:
Subject: Re: Petition: Treat #!... shebangs as comments