Re: can't write a BLOB, 7.1.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: can't write a BLOB, 7.1.2
Дата
Msg-id 27871.994876061@sss.pgh.pa.us
обсуждение исходный текст
Ответ на can't write a BLOB, 7.1.2  ("Dejan Vucinic" <hotdejan@hotmail.com>)
Список pgsql-jdbc
"Dejan Vucinic" <hotdejan@hotmail.com> writes:
> I'm trying to create a BLOB with the 7.1.2 JDBC driver and both
> setBytes() and setBinaryStream() fail with this message:
>   FastPath call returned ERROR:  lo_write: invalid large obj descriptor (0)

Probably you are not wrapping the operation into a transaction
(BEGIN/COMMIT).  Large object descriptors are only good to the end of
the current transaction.

            regards, tom lane

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

Предыдущее
От: "Dejan Vucinic"
Дата:
Сообщение: [PATCH] setTimestamp(int, Timestamp) fails on null timestamp
Следующее
От: "Dave Cramer"
Дата:
Сообщение: RE: [PATCH] setTimestamp(int, Timestamp) fails on null timestamp