getTablePrivillages giving wrong privillages

From: Altaf Malik <mmalik_altaf(at)yahoo(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: getTablePrivillages giving wrong privillages
Date: 2006-02-01 14:13:22
Message-ID: 20060201141322.15994.qmail@web30211.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2006-02-01 14:32:15 Re: Postgres-JDBC question
Previous Message Myatluk Andrey 2006-02-01 09:01:27 Re: Postgres-JDBC question