Transactions and libpq - Mailing list pgsql-interfaces

From osxdeveloper@mac.com
Subject Transactions and libpq
Date
Msg-id FF2C0679-5E61-4F33-B8E2-CD6770C9A31E@mac.com
Whole thread Raw
Responses Re: Transactions and libpq
List 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 by date:

Previous
From: Gregory Stark
Date:
Subject: Re: PQoidValue - get last ID of primary key after INSERT - small
Next
From: Michael Fuhr
Date:
Subject: Re: Transactions and libpq