pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Euler Taveira de Oliveira <euler@timbira.com>
To: J. <sweepingoar@yahoo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: granted select works in psql but not via jdbc
Date: Wed, 31 May 2006 20:42:20 -0300
Message-ID: <20060531234220.GC1436@timbira.com> (raw)
In-Reply-To: <20060531162140.55263.qmail@web54204.mail.yahoo.com>
References: <20060531162140.55263.qmail@web54204.mail.yahoo.com>

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/




view thread (3+ messages)  latest in thread

Message-ID: <20060531234220.GC1436@timbira.com>
Permalink:  ../20060531234220.GC1436@timbira.com/
Also on:    postgresql.org/message-id/20060531234220.GC1436@timbira.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: euler@timbira.com, sweepingoar@yahoo.com
  Subject: Re: granted select works in psql but not via jdbc
  In-Reply-To: <20060531234220.GC1436@timbira.com>
  References: <20060531162140.55263.qmail@web54204.mail.yahoo.com> <20060531234220.GC1436@timbira.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox