Re: [PATCH] Fix COLUMN_SIZE and NUM_PREC_RADIX in metadata

From: Barry Lind <blind(at)xythos(dot)com>
To: Peter Royal <proyal(at)pace2020(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [PATCH] Fix COLUMN_SIZE and NUM_PREC_RADIX in metadata
Date: 2003-05-19 04:25:41
Message-ID: 3EC85CC5.2090607@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Peter,

This was already fixed in CVS.

thanks,
--Barry

Peter Royal wrote:
> DatabaseMetaData.getColumns() returns incorrect values for COLUMN_SIZE
> and NUM_PREC_RADIX on numeric and decimal columns. On line 2340 of
> AbstractJdbc1DatabaseMetaData it should be rs.getInt("atttypmod") not
> rs.getInt(8)
> -pete
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Han 2003-05-19 05:34:58 Re: Problem about executeUpdate and stored procedure that
Previous Message Doug Kearns 2003-05-18 13:23:41 [Bug] ResultSet#getMetaData() returns null