Skip site navigation (1) Skip section navigation (2)

Re: AbstractJdbc2Array - another patch

From: Kris Jurka <books(at)ejurka(dot)com>
To: Eric Lenio <eric(at)lenio(dot)net>
Cc: Marek Lewczuk <newsy(at)lewczuk(dot)com>, pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>, danap(at)ttc-cmc(dot)net
Subject: Re: AbstractJdbc2Array - another patch
Date: 2008-04-15 05:21:44
Message-ID: Pine.BSO.4.64.0804150117200.8211@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

On Thu, 22 Nov 2007, Eric Lenio wrote:

> Kris/Marek: I've attached a very small followup patch which addresses a
> need I had: I was using java.sql.DatabaseMetaData's getColumns method to
> attempt to get the COLUMN_SIZE attribute for a column of type "character
> varying(255) []".  Without my patch (applied after Kris's patches) the
> COLUMN_SIZE would be 2147483647, with the patch it would be 255.  I am
> by no means a JDBC or Postgresql expert, so maybe I am way off base.
> What do you think?
>

I've applied a patch to CVS to do this along the lines I suggested in the 
thread.

Kris Jurka

In response to

pgsql-jdbc by date

Next:From: Tim HDate: 2008-04-15 14:12:07
Subject: Failover Datasource?
Previous:From: Kris JurkaDate: 2008-04-15 04:50:28
Subject: Re: Issue with DataBaseMetaData.GetTypeInfo()

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group