Re: problem with transactions in VB.NET using npgsql

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: problem with transactions in VB.NET using npgsql
Дата
Msg-id 20070905153744.GF6102@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: problem with transactions in VB.NET using npgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: problem with transactions in VB.NET using npgsql
Список pgsql-general
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > Owen Hartnett wrote:
> >> I've been able to turn on statement logging (I've set log_statement to
> >> 'all'), but it doesn't seem to show the begin transaction - commit -
> >> rollback statements.  Is there another way to have them show up in the log?
>
> > If they don't show up, they are not being executed at all; which
> > explains why your transactions "don't roll back", because there are no
> > transaction blocks defined at all.
>
> In PG 8.2 I'd agree, but older versions are not so good about logging
> execution of prepared statements.  What's the server version exactly,
> and is there any indication of use of prepared statements in the log?

Humm, but can you prepare BEGIN or COMMIT at all?

--
Alvaro Herrera                        http://www.advogato.org/person/alvherre
"¿Cómo puedes confiar en algo que pagas y que no ves,
y no confiar en algo que te dan y te lo muestran?" (Germán Poo)

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: problem with transactions in VB.NET using npgsql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: problem with transactions in VB.NET using npgsql