pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: Bug in DatabaseMetaData.getColumns() with columns based on domains
Date: Thu, 21 Oct 2010 21:54:14 +0200
Message-ID: <i9q5p6$lcb$1@dough.gmane.org> (raw)
In-Reply-To: <4CC07EED.1030506@ttc-cmc.net>
References: <i9pdb3$6t5$1@dough.gmane.org>
	<4CC07EED.1030506@ttc-cmc.net>

dmp wrote on 21.10.2010 19:57:
>> consider the following table and domain:
>>
>> CREATE DOMAIN salary_domain AS numeric(12,2) NOT NULL CHECK (value > 0);
>> CREATE TABLE employee (id integer not null, salary salary_domain);
>>
>> DatabaseMetaData.getColumns(null, "public", "employee", "%");
>>
>> returns "YES" for the column IS_NULLABLE in the ResultSet whereas it
>> should flag that column as not nullable.
>>
> Perhaps you could provide the Database and JDBC versions to help those that
> will need to review the report. I have confirmed on PostgreSQL 9.0.1 and
> JDBC postgresql-9.0-801.jdbc3.

Sorry, you are right I should have mentioned that.

I tried it with the exact same version as you (PG 9.0.1 and JDBC 9.0-801)

Regards
Thomas




view thread (8+ messages)  latest in thread

Message-ID: <i9q5p6$lcb$1@dough.gmane.org>
Permalink:  ../i9q5p6$lcb$1@dough.gmane.org/
Also on:    postgresql.org/message-id/i9q5p6$lcb$1@dough.gmane.org

 · 

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: spam_eater@gmx.net
  Subject: Re: Bug in DatabaseMetaData.getColumns() with columns based on domains
  In-Reply-To: <i9q5p6$lcb$1@dough.gmane.org>
  References: <i9pdb3$6t5$1@dough.gmane.org> <4CC07EED.1030506@ttc-cmc.net> <i9q5p6$lcb$1@dough.gmane.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