i execute it periodically and sometimes there is a transaction and other times it's idle:
INSERT INTO traces VALUES (.....)
or
<IDLE> in transaction
So it's still running.. even thought there is some idle time.
Thank you very much!
On Thu, Aug 8, 2013 at 5:46 PM, David Johnston <polobo@xxxxxxxxx> wrote:
dafNi wrote
> Should I assume that the transactions keep running?Never assume...or at least try and verify those assumptions when possible.
To verify this assumption:
Connect to the DB directly as a super-user and run this (or something
similar):
SELECT procpid, current_query, client_addr, xact_start, query_start
FROM pg_stat_activity
ORDER BY xact_start ASC, client_addr;
to what activity is currently in-progress.
David J.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/DB-transactions-when-browser-freezes-tp5766824p5766829.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general