X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 16EF39DCC48 for ; Wed, 1 Feb 2006 10:20:06 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54386-05 for ; Wed, 1 Feb 2006 10:20:09 -0400 (AST) X-Greylist: delayed 00:06:39.914216 by SQLgrey- Received: from web30211.mail.mud.yahoo.com (web30211.mail.mud.yahoo.com [68.142.201.224]) by postgresql.org (Postfix) with SMTP id A70F79DCBB1 for ; Wed, 1 Feb 2006 10:19:58 -0400 (AST) Received: (qmail 15996 invoked by uid 60001); 1 Feb 2006 14:13:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Cdv5a5NsvXIaZh9ZrPHCAUujpIIwGZOnOQFwfTTKdtCIkOXIHss5t/YPyaoRMtBKVgmmZafejl0EKU47Mgj6ZfBqi+ToNAlWZTkS4fU6u+tesT+s/AKgCMm+XnRxfASgl3JH3c66RSuykZZA0+qlMIgSfry1Bzoqwpb8fucbrfc= ; Message-ID: <20060201141322.15994.qmail@web30211.mail.mud.yahoo.com> Received: from [203.215.160.146] by web30211.mail.mud.yahoo.com via HTTP; Wed, 01 Feb 2006 06:13:22 PST Date: Wed, 1 Feb 2006 06:13:22 -0800 (PST) From: Altaf Malik Subject: getTablePrivillages giving wrong privillages To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1038951697-1138803202=:11438" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.48 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479, HTML_MESSAGE=0.001] X-Spam-Score: 0.48 X-Spam-Level: X-Archive-Number: 200602/4 X-Sequence-Number: 14601 --0-1038951697-1138803202=:11438 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 --0-1038951697-1138803202=:11438 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
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 --0-1038951697-1138803202=:11438--