logging of transaction related events

Started by Kent Tongover 18 years ago2 messagesgeneral
Jump to latest
#1Kent Tong
kent@cpttm.org.mo

Hi,

Is it possible to log events related to transactions, in particular, about
blocking? For example:

INFO: transaction 123 is blocked waiting for locked held by transaction
456.

Thanks!

-----
--
Kent Tong
Wicket tutorials freely available at http://www.agileskills2.org/EWDW
--
View this message in context: http://www.nabble.com/logging-of-transaction-related-events-tf4849017.html#a13873778
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

#2Bruce Momjian
bruce@momjian.us
In reply to: Kent Tong (#1)
Re: logging of transaction related events

Kent Tong wrote:

Hi,

Is it possible to log events related to transactions, in particular, about
blocking? For example:

INFO: transaction 123 is blocked waiting for locked held by transaction
456.

8.3 will have a log_lock_waits parameter which will do something like
that.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +