One byte integer support

Поиск
Список
Период
Сортировка
От Keith Hankin
Тема One byte integer support
Дата
Msg-id 20050106181729.84477.qmail@web40625.mail.yahoo.com
обсуждение исходный текст
Ответы Re: One byte integer support
Список pgsql-jdbc
Is there any way to support one byte integers? I am
using JDBC and would like to use setByte() method to
populate values of a single-byte integer valued
column. I tried defining the column as character(1),
but I get the error message:

Exception in thread "main"
org.postgresql.util.PSQLException: ERROR: value too
long for type character(1)

I don't see how a byte is too long for character(1).
Is there any data type like MySQL's tinyint?




__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Removing our datasource/pooling implementation.
Следующее
От: Aaron Mulder
Дата:
Сообщение: Re: Removing our datasource/pooling implementation.