Re: relacl parsing method? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: relacl parsing method?
Date
Msg-id 20100216162437.GF5330@alvh.no-ip.org
Whole thread Raw
In response to relacl parsing method?  (Josip Rodin <joy@entuzijast.net>)
List pgsql-general
Josip Rodin wrote:
> Hi,
>
> I want to find out whether a user has a select privilege on a particular
> database.


You're probably better off using the has_foo_privilege family of
functions, e.g., has_table_privilege().

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: relacl parsing method?
Next
From: Alvaro Herrera
Date:
Subject: Re: Check what a transaction did in the past