Re: debuging transactions - Mailing list pgsql-general

From Richard Huxton
Subject Re: debuging transactions
Date
Msg-id 46E150D6.8040502@archonet.com
Whole thread Raw
In response to debuging transactions  (Panagiotis Pediaditis <pped@ics.forth.gr>)
List pgsql-general
Panagiotis Pediaditis wrote:
> Greetings,
>
>       I am debugging a large application that is based on transactions
> of long series of complex SQL queries. I was wondering, is there a way
> to monitor tables changed by the transaction before the transaction
> actually commits? Otherwise debugging seems impossible.

There are no changes until the transaction commits - at least not ones
visible from outside the transaction.

If you are writing plpgsql functions you can add various RAISE NOTICE
messages around the place.

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Column as arrays.. more efficient than columns?
Next
From: SHARMILA JOTHIRAJAH
Date:
Subject: CLOB support in postgresql