Transactions and libpq

From: osxdeveloper(at)mac(dot)com
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Transactions and libpq
Date: 2006-08-21 23:11:33
Message-ID: FF2C0679-5E61-4F33-B8E2-CD6770C9A31E@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Fuhr 2006-08-21 23:28:14 Re: Transactions and libpq
Previous Message Ralf Hasemann 2006-08-21 21:11:11 libpgsql and transaction behaviour