Search Postgresql Archives

Re: Check what a transaction did in the past

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



manugarciac wrote:
> 
> I have an Idle in transaction that's really long. I suspect there is a
> problem in my application, but I can't figure out where. If I new which
> queries that transaction did in the past, it would really help me find the
> problem. I know the transaction id, the process id, everything there is to
> know, except the queries it did in the past. Is there any way to check this?

Turn on log_statements and check the log.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux