| От | Tom Lane |
|---|---|
| Тема | Re: problem with transactions in VB.NET using npgsql |
| Дата | |
| Msg-id | 10138.1188255917@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | problem with transactions in VB.NET using npgsql (Owen Hartnett <owen@clipboardinc.com>) |
| Ответы |
Re: problem with transactions in VB.NET using npgsql
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера