Re: Large Objects; ODBC & Transactions

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Large Objects; ODBC & Transactions
Дата
Msg-id 3BEF25B2.2C9DF09B@tpf.co.jp
обсуждение исходный текст
Ответ на Large Objects; ODBC & Transactions  ("Mike Miller" <mmiller@pooka.otago.ac.nz>)
Список pgsql-odbc
Mike Miller wrote:
>
> First it was ODBC & Transactions; now I've added Large Objects into the
> soup!
>
> I'm using the a modified version of the VB code (POSTGRESQL, LO and VISUAL
> BASIC MINI-HOWTO) by Denis Gasparin found at
> http://odbc.postgresql.org/ftpsite/odbc/pgsql-lo-vb-MiniHowto.txt
>
> When trying to update a table with the code I get the error message :-
>
> Could not begin (in-line) a transaction
>
> *if* I have *already* started a transaction.

You had better use BeginTrans to set autocommit off mode.
It isn't a recommended way to issue "BEGIN" directly.

regards,
Hiroshi Inoue

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

Предыдущее
От: "Mike Miller"
Дата:
Сообщение: Large Objects; ODBC & Transactions
Следующее
От: Dave Page
Дата:
Сообщение: Re: Last inserted id