From: Kris Jurka <books@ejurka.com>
To: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Bug with DatabaseMetaData and temporary tables/schemas
Date: Wed, 22 Dec 2010 12:01:18 -0500 (EST)
Message-ID: <alpine.BSO.2.00.1012221159040.9197@leary.csoft.net> (raw)
In-Reply-To: <ib5ork$45l$1@dough.gmane.org>
References: <ib1l67$e22$1@dough.gmane.org>
<alpine.BSO.2.00.1011061940240.9117@leary.csoft.net>
<12764.1289091761@sss.pgh.pa.us>
<ib5ork$45l$1@dough.gmane.org>
On Sun, 7 Nov 2010, Thomas Kellerer wrote:
> Tom Lane wrote on 07.11.2010 02:02:
>> Kris Jurka<books@ejurka.com> writes:
>>> It looks like psql will show you your own temp schema and all of the
>>> temp toast schemas. So that could potentially be improved as well.
>>
>> Yeah, there was some discussion of that just recently:
>> http://archives.postgresql.org/message-id/16710.1284837096@sss.pgh.pa.us
>>
>> I haven't got round to making that change yet, but maybe now is a
>> good time. The consensus seemed to be that \dn (without S) should
>> not show any pg_XXX schemas, nor information_schema. Not sure that
>> that's appropriate for getSchemas though --- an API intended for
>> programs should maybe just hide the temp and toast schemas.
>>
>
> Well it should at least show "my" temp schemas.
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).
> 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.
Kris Jurka
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-jdbc@postgresql.org
Cc: books@ejurka.com, spam_eater@gmx.net
Subject: Re: Bug with DatabaseMetaData and temporary tables/schemas
In-Reply-To: <alpine.BSO.2.00.1012221159040.9197@leary.csoft.net>
References: <ib1l67$e22$1@dough.gmane.org> <alpine.BSO.2.00.1011061940240.9117@leary.csoft.net> <12764.1289091761@sss.pgh.pa.us> <ib5ork$45l$1@dough.gmane.org> <alpine.BSO.2.00.1012221159040.9197@leary.csoft.net>
* 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