Re: [ADMIN] Editable Views

From: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [ADMIN] Editable Views
Date: 2014-07-18 17:19:50
Message-ID: 1405703990457-5811982.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin 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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Matheus de Oliveira 2014-07-18 19:21:40 Re: [ADMIN] Editable Views
Previous Message Ferrell, Denise CTR NSWCDD, Z11 2014-07-18 16:56:08 [ADMIN] Editable Views

Browse pgsql-general by date

  From Date Subject
Next Message Frank Pinto 2014-07-18 17:25:20 Re: Petition: Treat #!... shebangs as comments
Previous Message Ferrell, Denise CTR NSWCDD, Z11 2014-07-18 16:56:08 [ADMIN] Editable Views