pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Kirkbride <rob@rkcomputing.co.uk>
To: pgsql-jdbc@postgresql.org
Subject: Group Query
Date: Wed, 14 Dec 2005 11:00:48 +0000
Message-ID: <439FFB60.9020806@rkcomputing.co.uk> (raw)

Hi,

It's probably because I'm struggling with array queries but how can I 
get the (textual) list of groups allocated to the current user?

I can get the current_user and extract the id out of pg_user, however I 
need to then match this to an element as part of a list in pg_group, 
this is the part I can't find how how to do. I'd like it as a ResultSet 
with each element with the textual group name

Thanks for any help,

Rob




view thread (3+ messages)  latest in thread

Message-ID: <439FFB60.9020806@rkcomputing.co.uk>
Permalink:  ../439FFB60.9020806@rkcomputing.co.uk/
Also on:    postgresql.org/message-id/439FFB60.9020806@rkcomputing.co.uk

 · 

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: rob@rkcomputing.co.uk
  Subject: Re: Group Query
  In-Reply-To: <439FFB60.9020806@rkcomputing.co.uk>
  References: <439FFB60.9020806@rkcomputing.co.uk>

* 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