[PATCH] Fix COLUMN_SIZE and NUM_PREC_RADIX in metadata

From: Peter Royal <proyal(at)pace2020(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [PATCH] Fix COLUMN_SIZE and NUM_PREC_RADIX in metadata
Date: 2003-05-15 20:22:12
Message-ID: E929D90D-8712-11D7-A398-000393B61B56@pace2020.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Han 2003-05-16 07:00:27 Problem about executeUpdate and stored procedure that returns nothing
Previous Message Peter Eisentraut 2003-05-15 20:04:11 Re: [GENERAL] Problem about pgsql's column alias