libpgsql and transaction behaviour

From: Ralf Hasemann <rhasemann(at)mac(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: libpgsql and transaction behaviour
Date: 2006-08-21 21:11:11
Message-ID: 7B099026-5BDE-4B53-BF81-8951A323A30C@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

Browse pgsql-interfaces by date

  From Date Subject
Next Message osxdeveloper 2006-08-21 23:11:33 Transactions and libpq
Previous Message Gregory Stark 2006-08-17 00:34:58 Re: PQoidValue - get last ID of primary key after INSERT - small