Re: How to create read-only view on 9.3

From: Szymon Guz <mabewlun(at)gmail(dot)com>
To: Tomonari Katsumata <katsumata(dot)tomonari(at)po(dot)ntts(dot)co(dot)jp>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: How to create read-only view on 9.3
Date: 2013-08-13 10:16:01
Message-ID: CAFjNrYtmJA83FKx+VryfdLo7vCp7hz0TMMeEmS9iZgqSFHCAJg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 13 August 2013 11:43, Tomonari Katsumata <
katsumata(dot)tomonari(at)po(dot)ntts(dot)co(dot)jp> wrote:

> Hi,
>
> Could anyone tell me how to create read-only view on
> PostgreSQL 9.3 ?
>
> I've been testing updatable views and noticed that
> all simple views are updatable.
>
> When I use pg_dump for upgrading from PostgreSQL 9.2
> to PostgreSQL 9.3 and if the databse has views,
> all views are updatable on the restored database.
>
> I want to make these views read-only like PostgreSQL9.2.
> How can I do this? Should I make access control on users ?
> (Sorry, I couldn't find any explanations on document.)
>
> regards,
> --------------------
> NTT Software Corporation
> Tomonari Katsumata
>
>
>
> Could you show an example?

Szymon

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomonari Katsumata 2013-08-13 10:37:34 Re: How to create read-only view on 9.3
Previous Message Tomonari Katsumata 2013-08-13 09:43:05 How to create read-only view on 9.3