From: Day, David <david.day@redcom.com>
To: 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 14:47:41 +0000
Message-ID: <87d631cf993c4cd6aa1f6e28d82717b1@exch-02.redcom.com> (raw)
In-Reply-To: <dbec47cd-755c-e343-bae8-4e1a62df6431@aklaver.com>
References: <CAGZ55DQQDccu8UYu8c4jCW9Wq=ZkULKtF3Q2y3FfL+u5jcLWHA@mail.gmail.com>
<dbec47cd-755c-e343-bae8-4e1a62df6431@aklaver.com>
-----Original Message-----
From: Adrian Klaver [mailto:adrian.klaver@aklaver.com]
Sent: Wednesday, March 13, 2019 10:24 AM
To: Johann Spies <johann.spies@gmail.com>; pgsql-general@postgresql.org
Subject: Re: Permission to refresh materialized view
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
--
Lacking the actual error message however:
Y might lack usage on the containing schema ?
Y might lack privilege on a function or sequence contained in the view ?
Dave Day
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: david.day@redcom.com, adrian.klaver@aklaver.com, johann.spies@gmail.com
Subject: Re: Permission to refresh materialized view
In-Reply-To: <87d631cf993c4cd6aa1f6e28d82717b1@exch-02.redcom.com>
References: <CAGZ55DQQDccu8UYu8c4jCW9Wq=ZkULKtF3Q2y3FfL+u5jcLWHA@mail.gmail.com> <dbec47cd-755c-e343-bae8-4e1a62df6431@aklaver.com> <87d631cf993c4cd6aa1f6e28d82717b1@exch-02.redcom.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