Re: How to log canceled SQL statement due to statement timeout

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

 



Eric Comeau <ecomeau@xxxxxxxxxxxx> wrote:
 
> We currently have statement timeout set
> 
>    	statement_timeout = 10800000  # 3 hrs
> 
> and we receive the following in the postgresql.log
> 
>    [1-1] ERROR:  canceling statement due to statement timeout
> 
> Is there a way to have the SQL statement logged as well?
 
log_min_error_statement = 'ERROR'
 
-Kevin

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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux