Unix Technical Forum

Access privileges

This is a discussion on Access privileges within the pgsql Admins forums, part of the PostgreSQL category; --> Hi list, I'm looking for a SQL command (SELECT) that returns me the access rights like the psql \z ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 01:23 AM
Heiko
 
Posts: n/a
Default Access privileges

Hi list,

I'm looking for a SQL command (SELECT) that returns me the
access rights like the psql \z does. I can't find anything
about it in the documentation. Thanks in advance...

bye,

Heiko

--
To err is human, to forgive, beyond the scope of the (Operating) System.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 01:24 AM
Michael Fuhr
 
Posts: n/a
Default Re: Access privileges

On Wed, Feb 16, 2005 at 03:04:54PM +0100, Heiko wrote:
>
> I'm looking for a SQL command (SELECT) that returns me the
> access rights like the psql \z does. I can't find anything
> about it in the documentation. Thanks in advance...


Run psql -E or do a \set ECHO_HIDDEN -- that'll show the queries
that psql makes for \z, \d, etc. See also the "System Catalogs"
chapter in the documentation.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:50 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com