Re: statement_timeout logging - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: statement_timeout logging
Date
Msg-id 200509161941.j8GJfB122512@candle.pha.pa.us
Whole thread Raw
In response to statement_timeout logging  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: statement_timeout logging
List pgsql-hackers
pgman wrote:
> Simon Riggs wrote:
> > Currently, when we set a statement_timeout and a query runs over that
> > time there is no log message to say that the statement has timed out. We
> > do get a message which says
> >     ERROR:  canceling query due to user request
> > and so in the server log it is impossible to tell the difference between
> > a query that has been cancelled deliberately by the user and a query
> > whose time(out) has come.
>
> I have updated the message to:
>
>      errmsg("canceling query due to user request or statement timeout")));

Oops.  Did we freeze the message strings already for this release?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Spinlocks, yet again: analysis and proposed patches
Next
From: "Jonah H. Harris"
Date:
Subject: Re: Why does VACUUM FULL bother locking pages?