pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David G Johnston <david.g.johnston@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: [ADMIN] Editable Views
Date: Fri, 18 Jul 2014 10:19:50 -0700 (PDT)
Message-ID: <1405703990457-5811982.post@n5.nabble.com> (raw)
In-Reply-To: <2BC18916DE4BF141AC1EFC55CE2CAE7D42FD69@NAEANRFKXM01V.nadsusea.nads.navy.mil>
References: <2BC18916DE4BF141AC1EFC55CE2CAE7D42FD69@NAEANRFKXM01V.nadsusea.nads.navy.mil>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.


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



view thread (6+ messages)  latest in thread

Message-ID: <1405703990457-5811982.post@n5.nabble.com>
Permalink:  ../1405703990457-5811982.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1405703990457-5811982.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: david.g.johnston@gmail.com, pgsql-general@postgresql.org
  Subject: Re: [ADMIN] Editable Views
  In-Reply-To: <1405703990457-5811982.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox