Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id DAC7F1337B80 for ; Wed, 22 Dec 2010 13:14:52 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 33285-01 for ; Wed, 22 Dec 2010 17:14:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id 88EDC1337B9D for ; Wed, 22 Dec 2010 13:14:45 -0400 (AST) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PVSGx-0004iB-AR for pgsql-jdbc@postgresql.org; Wed, 22 Dec 2010 18:14:43 +0100 Received: from ppp-188-174-80-163.dynamic.mnet-online.de ([188.174.80.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Dec 2010 18:14:43 +0100 Received: from spam_eater by ppp-188-174-80-163.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Dec 2010 18:14:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: Bug with DatabaseMetaData and temporary tables/schemas Date: Wed, 22 Dec 2010 18:14:30 +0100 Lines: 17 Message-ID: References: <12764.1289091761@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ppp-188-174-80-163.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_RP_MATCHES_RCVD=-0.01, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201012/63 X-Sequence-Number: 21301 Kris Jurka wrote on 22.12.2010 18:01: > I've applied a patch to fix this. The driver will now show your own > temp schema and toast temp schema, but no other temp schemas (toast > or otherwise). Great! Thanks a lot >> Or getColumns() and getTables() should be smart enough to return >> information about temp tables without having to specify the temp >> schema. > > I'm not sure what you are referring to here. You can certainly leave > the schema blank and it should work. You are right it does when leaving the schema blank Regards Thomas