From: Daniel Ceregatti <daniel@ceregatti.org>
To: pgsql-bugs@postgresql.org
Subject: BUG #5943: jdbc client doesn't omit pg_toast_temp tables from schema views
Date: Wed, 23 Mar 2011 23:01:59 GMT
Message-ID: <201103232301.p2NN1xhO067900@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 5943
Logged by: Daniel Ceregatti
Email address: daniel@ceregatti.org
PostgreSQL version: N/A
Operating system: N/A
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.
Using postgresql-9.0-801.jdbc4.jar
Please note that RhodiumToad in #postgresql on irc.freenode.org actually
discovered this based on a conversation he, ojacobson, and I had, and I'm
simply reporting what he discovered.
Thanks,
Daniel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: daniel@ceregatti.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>
References: <201103232301.p2NN1xhO067900@wwwmaster.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox