Column size BUG with text/bytea with 7.4 JDBC Driver (build 213)

Поиск
Список
Период
Сортировка
От j.random.programmer
Тема Column size BUG with text/bytea with 7.4 JDBC Driver (build 213)
Дата
Msg-id 20040407222218.51391.qmail@web14201.mail.yahoo.com
обсуждение исходный текст
Ответы Re: Column size BUG with text/bytea with 7.4 JDBC Driver (build
Re: Column size BUG with text/bytea with 7.4 JDBC Driver
Список 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 по дате отправления:

Предыдущее
От: "j.random.programmer"
Дата:
Сообщение: Boolean/Bit BUG with 7.4 JDBC Driver (build 213)
Следующее
От: "Michael Nonemacher"
Дата:
Сообщение: Re: Connection Idle in transaction