Transactions and libpq

Поиск
Список
Период
Сортировка
От osxdeveloper@mac.com
Тема Transactions and libpq
Дата
Msg-id FF2C0679-5E61-4F33-B8E2-CD6770C9A31E@mac.com
обсуждение исходный текст
Ответы Re: Transactions and libpq  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-interfaces
Hi!

I am writing an application using the libqpsql client lib.
What I like to do now, is to control transaction behavior
from within my application.
But the following happens:
When I try to open a transaction libpg prints
"WARNING:  there is already a transaction in progress"
to stdout.
The question for me is - why??
I searched Google and found some confusing things about serverside
auto-commit - but this is removed at last in Postgres 8.0.

Can somebody lighten my about the reason for this problem?

Thanks for any help!

Regards,
Ralf Hasemann



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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: PQoidValue - get last ID of primary key after INSERT - small
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Transactions and libpq