pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedPermission to refresh materialized view
4+ messages / 3 participants
[nested] [flat]
* Permission to refresh materialized view
@ 2019-03-13 13:27 Johann Spies <johann.spies@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Johann Spies @ 2019-03-13 13:27 UTC (permalink / raw)
To: pgsql-general
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.
Is that intended behaviour? Is there a way to enable the user to refresh
materialized views in that schema?
Regards
Johann
--
Because experiencing your loyal love is better than life itself,
my lips will praise you. (Psalm 63:3)
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Permission to refresh materialized view
@ 2019-03-13 14:24 Adrian Klaver <adrian.klaver@aklaver.com>
parent: Johann Spies <johann.spies@gmail.com>
0 siblings, 2 replies; 4+ messages in thread
From: Adrian Klaver @ 2019-03-13 14:24 UTC (permalink / raw)
To: Johann Spies <johann.spies@gmail.com>; pgsql-general
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* RE: Permission to refresh materialized view
@ 2019-03-13 14:47 Day, David <david.day@redcom.com>
parent: Adrian Klaver <adrian.klaver@aklaver.com>
1 sibling, 0 replies; 4+ messages in thread
From: Day, David @ 2019-03-13 14:47 UTC (permalink / raw)
To: Adrian Klaver <adrian.klaver@aklaver.com>; Johann Spies <johann.spies@gmail.com>; pgsql-general
-----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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Permission to refresh materialized view
@ 2019-03-18 14:51 Adrian Klaver <adrian.klaver@aklaver.com>
parent: Adrian Klaver <adrian.klaver@aklaver.com>
1 sibling, 0 replies; 4+ messages in thread
From: Adrian Klaver @ 2019-03-18 14:51 UTC (permalink / raw)
To: Johann Spies <johann.spies@gmail.com>; +Cc: pgsql-general
On 3/17/19 11:52 PM, Johann Spies wrote:
Please reply to list also.
Ccing list.
>
>
> On Wed, 13 Mar 2019 at 16:24, Adrian Klaver <adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.com>> wrote:
>
> On 3/13/19 6:27 AM, Johann Spies wrote:
> ...
> > 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?
>
>
> [42501] ERROR: must be owner of materialized view xxx_mv
>
> 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
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2019-03-18 14:51 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-03-13 13:27 Permission to refresh materialized view Johann Spies <johann.spies@gmail.com>
2019-03-13 14:24 ` Adrian Klaver <adrian.klaver@aklaver.com>
2019-03-13 14:47 ` Day, David <david.day@redcom.com>
2019-03-18 14:51 ` Adrian Klaver <adrian.klaver@aklaver.com>
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