pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Johann Spies <johann.spies@gmail.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Permission to refresh materialized view
Date: Wed, 13 Mar 2019 07:24:10 -0700
Message-ID: <dbec47cd-755c-e343-bae8-4e1a62df6431@aklaver.com> (raw)
In-Reply-To: <CAGZ55DQQDccu8UYu8c4jCW9Wq=ZkULKtF3Q2y3FfL+u5jcLWHA@mail.gmail.com>
References: <CAGZ55DQQDccu8UYu8c4jCW9Wq=ZkULKtF3Q2y3FfL+u5jcLWHA@mail.gmail.com>

On 3/13/19 6:27 AM, Johann Spies wrote:
> We did run this query:
> 
> /GRANT ALL ON ALL TABLES IN SCHEMA X TO USER Y;/
> /
> /
> But user Y gets the message that he has to be the owner of a 
> materialized view to be able to refresh it.

What is the exact message?

> 
> Is that intended behaviour?  Is there a way to enable the user to 
> refresh materialized views in that schema?

What is the definition of the view?

> 
> Regards
> Johann
> //
> 
> -- 
> Because experiencing your loyal love is better than life itself,
> my lips will praise you.  (Psalm 63:3)


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (4+ messages)  latest in thread

Message-ID: <dbec47cd-755c-e343-bae8-4e1a62df6431@aklaver.com>
Permalink:  ../dbec47cd-755c-e343-bae8-4e1a62df6431@aklaver.com/
Also on:    postgresql.org/message-id/dbec47cd-755c-e343-bae8-4e1a62df6431@aklaver.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, johann.spies@gmail.com
  Subject: Re: Permission to refresh materialized view
  In-Reply-To: <dbec47cd-755c-e343-bae8-4e1a62df6431@aklaver.com>
  References: <CAGZ55DQQDccu8UYu8c4jCW9Wq=ZkULKtF3Q2y3FfL+u5jcLWHA@mail.gmail.com> <dbec47cd-755c-e343-bae8-4e1a62df6431@aklaver.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