Re: Permission for pg_shadow.

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "AI Rumman *EXTERN*" <rummandba(at)gmail(dot)com>, "pgsql-general General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Permission for pg_shadow.
Date: 2011-10-10 11:59:31
Message-ID: D960CB61B694CF459DCFB4B0128514C206F742A6@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adarsh Sharma 2011-10-10 12:32:05 Select latest Timestamp values with group by
Previous Message Sarma Chavali 2011-10-10 11:57:42 Help on PostgreSQL