Re: granted select works in psql but not via jdbc

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: "J(dot)" <sweepingoar(at)yahoo(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: granted select works in psql but not via jdbc
Date: 2006-05-31 23:42:20
Message-ID: 20060531234220.GC1436@timbira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

J. wrote:

> I'm trying to set up a system where users will be limited based on their access. To do this I'm querying db_roles and if an exception is thrown, they're not a db admin. The problem is that I've done this:
>
> grant select on pg_roles to db_mid_level_admin;
^^^^^^^^^
Wouldn't it be db_roles?

--
Euler Taveira de Oliveira
http://www.timbira.com/

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message EBIHARA, Yuichiro 2006-06-01 01:14:22 Re: Fields
Previous Message Mark Lewis 2006-05-31 20:56:13 Re: Fields