Re: transacction problem

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: transacction problem
Дата
Msg-id 20020313195348.A1097@svana.org
обсуждение исходный текст
Ответ на transacction problem  (TPCCUVA <TPCCUVA@terra.es>)
Список pgsql-general
On Wed, Mar 13, 2002 at 09:35:02AM +0100, TPCCUVA wrote:
> Hello.
>
> I have a problem with the transactions.I'm using postgres 7.1.3
> Our program connects with he database, then it starts the transaction
> with:
>
> EXEC SQL BEGIN;
>
> but in the first SELECT I obtain the next error:
>
>     Error: -603
>     Begin: already a transaction in progres;
>
> I have try to put:
> EXEC SQL ROLLBACK;
> before the BEGIN, but postgres says me that there isn't any transaccion
> in progres.

Seems to me you have some kind of auto-transaction mode going on there.
Whatever you are using is add extra begin and end statements for you. The
way to check this is to examine the progresql logfile to determine what
extra stuff is being execute and where from.

HTH,
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> 11/9/2001 - a new beginning or the beginning of the end?

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

Предыдущее
От: TPCCUVA
Дата:
Сообщение: checkpoint
Следующее
От: Boris Köster
Дата:
Сообщение: duplicating and date problem