X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6721AD9177; Fri, 16 Sep 2005 16:41:10 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 49843-08; Fri, 16 Sep 2005 19:41:07 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id 436A9D90C7; Fri, 16 Sep 2005 16:41:08 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j8GJfB122512; Fri, 16 Sep 2005 15:41:11 -0400 (EDT) From: Bruce Momjian Message-Id: <200509161941.j8GJfB122512@candle.pha.pa.us> Subject: Re: [HACKERS] statement_timeout logging In-Reply-To: To: PostgreSQL-documentation Date: Fri, 16 Sep 2005 15:41:11 -0400 (EDT) Cc: Simon Riggs , pgsql-hackers@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 required=5 tests=[AWL=0.009] X-Spam-Level: X-Archive-Number: 200509/24 X-Sequence-Number: 3210 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