blob load in 7.2.3

Поиск
Список
Период
Сортировка
Искать

blob load in 7.2.3

От:
"jonerf1" <jonesrf1@qwest.net>
Дата:
I changed the connection statement to 5432:/test3?compatability=7.1" and 
the
blob load works. I still cant get the bytea example to compile without 
an (int) in the file.length; and the sql gives an error  about column 
bytea versus loadvalue of integer, as previously noted today.
Both machines now load blobs using 7.1 compatability
The sql error refers to a cast ; how would I cast ?
I tried FileInputStream bytea fis, (2, (bytea)fis, (int)file.length()), 
and 2,fis,bytea(file.length())
just banging on it, i dont really understand the sql error message, ie 
what need to be cast?
TIA
rfjones

FAQ