From: Altaf Malik <mmalik_altaf@yahoo.com>
To: pgsql-jdbc@postgresql.org
Subject: getTablePrivillages giving wrong privillages
Date: Wed, 1 Feb 2006 06:13:22 -0800 (PST)
Message-ID: <20060201141322.15994.qmail@web30211.mail.mud.yahoo.com> (raw)
Hi,
I created a table PRIV_TEST with two columns and granted "SELECT" and "UPDATE" privillages to a user DEBUG. but when i call :
ResultSet ts = dbmd.getTablePrivileges("pg_catalog","public","PRIV_TEST");
Many rows are returned including the two privillages i granted, plust some indicating PRIVILLAGE=UNKNOWN
Is this a bug in the JDBC driver or i am missing something??
Thanks,
Altaf Malik
---------------------------------
What are the most popular cars? Find out at Yahoo! Autos
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: mmalik_altaf@yahoo.com
Subject: Re: getTablePrivillages giving wrong privillages
In-Reply-To: <20060201141322.15994.qmail@web30211.mail.mud.yahoo.com>
References: <20060201141322.15994.qmail@web30211.mail.mud.yahoo.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