Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 5D2A51337BDD for ; Thu, 24 Mar 2011 17:32:36 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 09265-06-2 for ; Thu, 24 Mar 2011 20:32:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id 4B9291337BD9 for ; Thu, 24 Mar 2011 17:32:28 -0300 (ADT) Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id 4F7FD2842E; Thu, 24 Mar 2011 16:32:28 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 1553EA3D7; Thu, 24 Mar 2011 16:32:28 -0400 (EDT) Date: Thu, 24 Mar 2011 16:32:27 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Daniel Ceregatti cc: pgsql-bugs@postgresql.org Subject: Re: BUG #5943: jdbc client doesn't omit pg_toast_temp tables from schema views In-Reply-To: <201103232301.p2NN1xhO067900@wwwmaster.postgresql.org> Message-ID: References: <201103232301.p2NN1xhO067900@wwwmaster.postgresql.org> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/317 X-Sequence-Number: 29827 On Wed, 23 Mar 2011, Daniel Ceregatti wrote: > > The following bug has been logged online: > > Bug reference: 5943 > Logged by: Daniel Ceregatti > Email address: daniel@ceregatti.org > Description: jdbc client doesn't omit pg_toast_temp tables from > schema views > Details: > > In the file org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java is the > query: > > sql = "SELECT nspname AS TABLE_SCHEM FROM pg_catalog.pg_namespace WHERE > nspname <> 'pg_toast' AND nspname !~ '^pg_temp_' ORDER BY TABLE_SCHEM"; > > Using Data Tools Platform in eclipse I was able to see all the > pg_toast_temp_XXX schemas in the schema view. This has already been fixed in CVS and will be in the next set of releases. Kris Jurka