Re: Permission for pg_shadow. - Mailing list pgsql-general

From Albe Laurenz
Subject Re: Permission for pg_shadow.
Date
Msg-id D960CB61B694CF459DCFB4B0128514C206F742A6@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Permission for pg_shadow.  (AI Rumman <rummandba@gmail.com>)
List pgsql-general
AI Rumman wrote:
> I have an application which query on the pg_shadow view. But the user
that I was provided by my
> hosting server does have permission to do that.
> I checked that only superuser can query in pg_shadow view. But hosting
service provider will not give
> me superuser permission.
> Is there any other alternative way that I may follow?

You'll have to use pg_user or pg_roles.

They won't show you the passwords though.

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Ondrej Ivanič
Date:
Subject: Re: plpgsql syntax error
Next
From: Adarsh Sharma
Date:
Subject: Select latest Timestamp values with group by