Re: relacl parsing method?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Josip Rodin <joy(at)entuzijast(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: relacl parsing method?
Date: 2010-02-16 16:24:37
Message-ID: 20100216162437.GF5330@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2010-02-16 16:27:51 Re: Check what a transaction did in the past
Previous Message Tom Lane 2010-02-16 16:22:32 Re: relacl parsing method?