pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedgetTablePrivillages giving wrong privillages
2+ messages / 2 participants
[nested] [flat]
* getTablePrivillages giving wrong privillages
@ 2006-02-01 14:13 Altaf Malik <mmalik_altaf@yahoo.com>
2006-02-01 17:23 ` Re: getTablePrivillages giving wrong privillages Kris Jurka <books@ejurka.com>
0 siblings, 1 reply; 2+ messages in thread
From: Altaf Malik @ 2006-02-01 14:13 UTC (permalink / raw)
To: pgsql-jdbc
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: getTablePrivillages giving wrong privillages
2006-02-01 14:13 getTablePrivillages giving wrong privillages Altaf Malik <mmalik_altaf@yahoo.com>
@ 2006-02-01 17:23 ` Kris Jurka <books@ejurka.com>
0 siblings, 0 replies; 2+ messages in thread
From: Kris Jurka @ 2006-02-01 17:23 UTC (permalink / raw)
To: Altaf Malik <mmalik_altaf@yahoo.com>; +Cc: pgsql-jdbc
On Wed, 1 Feb 2006, Altaf Malik wrote:
> 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??
>
This is indeed a bug in the driver. As listed on the todo, the ACL
parsing code has not been updated since the 7.3 release and does not work
correctly against later servers.
Kris Jurka
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-02-01 17:23 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-02-01 14:13 getTablePrivillages giving wrong privillages Altaf Malik <mmalik_altaf@yahoo.com>
2006-02-01 17:23 ` Kris Jurka <books@ejurka.com>
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