pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: dmp <danap@ttc-cmc.net>
Cc: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Bug in DatabaseMetaData.getColumns() with columns based on domains
Date: Sat, 23 Oct 2010 03:37:26 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1010230331180.30080@leary.csoft.net> (raw)
In-Reply-To: <4CC0E810.7010406@ttc-cmc.net>
References: <i9pdb3$6t5$1@dough.gmane.org>
	<i9q79p$sp1$1@dough.gmane.org>
	<4CC0E810.7010406@ttc-cmc.net>



On Thu, 21 Oct 2010, dmp wrote:

> The early attached file query for the column's information was from the 
> information_schema.columns table and does show the correct result for the
> salary field IS_NULLABLE.
>

Thanks for the hint.  Doing the same thing that the information_schema 
does was pretty easy.  I've fixed this in CVS and I've also adjusted 
ResultSetMetaData.isNullable to have the same behavior.  I've backpatched 
this to 8.4 because that's as far as was easy.

Here's a jar you can test with:

http://ejurka.com/pgsql/jars/domnn/

Kris Jurka



view thread (8+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1010230331180.30080@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1010230331180.30080@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1010230331180.30080@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, danap@ttc-cmc.net, spam_eater@gmx.net
  Subject: Re: Bug in DatabaseMetaData.getColumns() with columns based on domains
  In-Reply-To: <alpine.BSO.2.00.1010230331180.30080@leary.csoft.net>
  References: <i9pdb3$6t5$1@dough.gmane.org> <i9q79p$sp1$1@dough.gmane.org> <4CC0E810.7010406@ttc-cmc.net> <alpine.BSO.2.00.1010230331180.30080@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