pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Sat, 6 Nov 2010 19:52:44 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1011061940240.9117@leary.csoft.net> (raw)
In-Reply-To: <ib1l67$e22$1@dough.gmane.org>
References: <ib1l67$e22$1@dough.gmane.org>



On Fri, 5 Nov 2010, Thomas Kellerer wrote:

> DatabaseMetaData does not correctly report the implicitely created temporary 
> schema when creating a temporary table.

getSchemas is trying to help by not showing you tables that you cannot 
access in other backends' temp schemas.  It's not quite smart enough 
though.  It's not filtering the toast schemas and it isn't allowing you to 
see your own temp schema.

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.

I'll take a look at making getSchemas a little more consistent.

Kris Jurka



view thread (6+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1011061940240.9117@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1011061940240.9117@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1011061940240.9117@leary.csoft.net

 · 

reply

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.1011061940240.9117@leary.csoft.net>
  References: <ib1l67$e22$1@dough.gmane.org> <alpine.BSO.2.00.1011061940240.9117@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