Column size BUG with text/bytea with 7.4 JDBC Driver (build 213) - Mailing list pgsql-jdbc

From j.random.programmer
Subject Column size BUG with text/bytea with 7.4 JDBC Driver (build 213)
Date
Msg-id 20040407222218.51391.qmail@web14201.mail.yahoo.com
Whole thread Raw
Responses Re: Column size BUG with text/bytea with 7.4 JDBC Driver (build  (Oliver Jowett <oliver@opencloud.com>)
Re: Column size BUG with text/bytea with 7.4 JDBC Driver  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Hi:

The latest JDBC driver (build 213) has a serious
bug for the "COLUMN_SIZE" value, obtained via
DBMetaData, getColumns() and then "COLUMN_SIZE.

The column size returned for both bytea and text
types is -1. (The mysql jdbc driver correctly returns
65535 for these binary/text column types)

postgres _should_ return the max col size which
for bytea is about 1 GB (or is it 4 GB theoretically)
?

Either way, it certainly isn't -1

Please fix this ASAP, I am writing an advanced
db abstraction layer which automatically generated
validators based on min/max column sizes.

Best regards,

--j

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/

pgsql-jdbc by date:

Previous
From: "j.random.programmer"
Date:
Subject: Boolean/Bit BUG with 7.4 JDBC Driver (build 213)
Next
From: "Michael Nonemacher"
Date:
Subject: Re: Connection Idle in transaction