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: (view raw or whole thread)
Lists: pgsql-jdbc
   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??
  Altaf Malik

 What are the most popular cars? Find out at Yahoo! Autos 


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-2015 The PostgreSQL Global Development Group