Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

Next:From: Tom LaneDate: 2006-02-01 14:32:15
Subject: Re: Postgres-JDBC question
Previous:From: Myatluk AndreyDate: 2006-02-01 09:01:27
Subject: Re: Postgres-JDBC question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group