Re: user privileges for particular table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Thomas T(dot) Thai" <tom(at)minnesota(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: user privileges for particular table
Date: 2001-01-03 21:24:43
Message-ID: 17946.978557083@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Thomas T. Thai" <tom(at)minnesota(dot)com> writes:
> how can you show a user's privileges for a particular table of a
> particular db?

The info is in the relacl column of pg_class's row for that table. You
might also have to look at pg_group to determine whether the user is a
member of any groups that are granted privileges on the table.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Eckermann 2001-01-03 22:30:04 Help with SQL Function
Previous Message Tom Lane 2001-01-03 20:36:49 Re: [SQL] Numeric and money