Re: problem with transactions in VB.NET using npgsql - Mailing list pgsql-general

From Tom Lane
Subject Re: problem with transactions in VB.NET using npgsql
Date
Msg-id 10138.1188255917@sss.pgh.pa.us
Whole thread Raw
In response to problem with transactions in VB.NET using npgsql  (Owen Hartnett <owen@clipboardinc.com>)
Responses Re: problem with transactions in VB.NET using npgsql  (Owen Hartnett <owen@clipboardinc.com>)
List pgsql-general
Owen Hartnett <owen@clipboardinc.com> writes:
> I assign the transaction object to each of the commands, but it seems
> that some tables will get updated, even when I call rollback.  Is
> something I'm calling secretly calling "commit" somewhere?

Dunno anything about vb.net, but this sounds like an autocommit feature
that's not doing what you expect.

If nothing else comes to mind, try setting the DB to log all statements
(see log_statement), and compare the resulting trace to what you think
your code is doing.  That should at least narrow it down a lot.

            regards, tom lane

pgsql-general by date:

Previous
From: "Dawid Kuroczko"
Date:
Subject: Re: LDAP service lookup
Next
From: Kamil Srot
Date:
Subject: Re: Tables dissapearing