Re: [ADMIN] Editable Views

From: Matheus de Oliveira <matioli(dot)matheus(at)gmail(dot)com>
To: "Ferrell, Denise CTR NSWCDD, Z11" <denise(dot)ferrell(dot)ctr(at)navy(dot)mil>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>, Forums postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: [ADMIN] Editable Views
Date: 2014-07-18 19:21:40
Message-ID: CAJghg4JHTppsfwpkWNdrGcS6TLtzkB+Ux0xD8H61P7p50_TW5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Fri, Jul 18, 2014 at 1:56 PM, Ferrell, Denise CTR NSWCDD, Z11 <
denise(dot)ferrell(dot)ctr(at)navy(dot)mil> wrote:

> Using PostgreSQL 9.3 on Linux Red-Hat platform.
>
> Does PostgreSQL allow editable views?
>

Yes, it has automatically updatable views since 9.3, see [1].

You can also add a trigger or a rule to make it updatable.

[1]
http://www.postgresql.org/docs/current/static/sql-createview.html#SQL-CREATEVIEW-UPDATABLE-VIEWS

Regards,
--
Matheus de Oliveira
Analista de Banco de Dados
Dextra Sistemas - MPS.Br nível F!
www.dextra.com.br/postgres

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ferrell, Denise CTR NSWCDD, Z11 2014-07-18 19:25:54 Re: [ADMIN] Editable Views
Previous Message David G Johnston 2014-07-18 17:19:50 Re: [ADMIN] Editable Views

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2014-07-18 19:23:01 Re: Petition: Treat #!... shebangs as comments
Previous Message Sergiy Zuban 2014-07-18 18:57:07 postgres_fdw - push down conditionals for ENUMs