From: Brijesh Shrivastav <Bshrivastav@esri.com>
To: Pglibpq (E-mail) <pgsql-interfaces@postgresql.org>
Subject: Filtering tables based on user privileges
Date: Tue, 15 Jun 2004 09:58:00 -0700
Message-ID: <491DC5F3D279CD4EB4B157DDD62237F401ADE497@zipwire.esri.com> (raw)
Hi!
I have a need to filter out tables that have specfic privileges for a user.
For example, select
all tables where user 'joe' has 'select' and 'insert' privileges. Can I
somehow filter
that at SQL level or will I have to get all non-system rows from pg_class
and filter it
one by one? How can I use whre clause against aclitem[] array?
Regards,
Brijesh Shrivastav
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: Bshrivastav@esri.com
Subject: Re: Filtering tables based on user privileges
In-Reply-To: <491DC5F3D279CD4EB4B157DDD62237F401ADE497@zipwire.esri.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