Refreshing materialized views

From: Henrik Uggla <Henrik(dot)Uggla(at)kristianstad(dot)se>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Refreshing materialized views
Date: 2017-11-28 14:09:09
Message-ID: 9240031180ff4c419251652f39908dd0@kristianstad.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

I created some materialized views and set a group as owner. My problem is that I can't refresh the views. I get "permission denied" even when using the postgres super user. If I change the owner to an ordinary user I still can't refresh the view as the owner or postgres. Only if I change owner to postgres am I able to refresh the view, but only as the postgres user. I've mainly tried with Pgadmin4 but also a few times with psql, and the database is installed as a docker container. Please help.

cheers
HU

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-11-28 14:22:48 Re: vacuumdb fails with error pg_statistic_relid_att_inh_index constraint violation after upgrade to 9.6
Previous Message Robert Haas 2017-11-28 13:43:45 Re: ERROR: too many dynamic shared memory segments