X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BD50DDBD97 for ; Fri, 25 Nov 2005 16:51:03 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 83579-08 for ; Fri, 25 Nov 2005 20:51:01 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by svr1.postgresql.org (Postfix) with ESMTP id BA660DBBCC for ; Fri, 25 Nov 2005 16:50:58 -0400 (AST) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EfkVj-000531-TI for pgsql-jdbc@postgresql.org; Fri, 25 Nov 2005 21:49:35 +0100 Received: from ppp-82-135-72-123.mnet-online.de ([82.135.72.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Nov 2005 21:49:35 +0100 Received: from spam_eater by ppp-82-135-72-123.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Nov 2005 21:49:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: getTables() not working for information_schema or pg_catalog Date: Fri, 25 Nov 2005 21:48:01 +0100 Lines: 15 Message-ID: References: <72441723-6002-42DB-B8A9-CEDF16801F4E@fastcrypt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ppp-82-135-72-123.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7.2.0 X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <72441723-6002-42DB-B8A9-CEDF16801F4E@fastcrypt.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/208 X-Sequence-Number: 14306 [getTables() not returning information about pg_catalog and information_schema] Dave Cramer wrote on 25.11.2005 18:58: > IIRC these two tables are excluded on purpose to avoid returning those > tables. The purpose of getTables is to get the tables associated with > the connection, not to get system tables. But then I wouldn't expect them to be included in the list that is returned from getSchemas() as well. If they should be hidden for JDBC access (which is a strange decision in my opinion) then they should be hidden completely. Regards Thomas