Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id EC7712E0FF9 for ; Tue, 13 Nov 2007 16:43:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 10430-03 for ; Tue, 13 Nov 2007 16:43:00 -0400 (AST) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id 991812E1275 for ; Tue, 13 Nov 2007 16:43:02 -0400 (AST) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Is2b6-0007A7-EM for pgsql-admin@postgresql.org; Tue, 13 Nov 2007 20:43:00 +0000 Received: from 77.70.61.39 ([77.70.61.39]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Nov 2007 20:43:00 +0000 Received: from milen by 77.70.61.39 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Nov 2007 20:43:00 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org From: "Milen A. Radev" Subject: Re: Escape string tracing Date: Tue, 13 Nov 2007 22:42:47 +0200 Lines: 12 Message-ID: References: <4739F979.8090100@sbcglobal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.70.61.39 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <4739F979.8090100@sbcglobal.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.723 tagged_above=0 required=5 tests=AWL=-0.604, BAYES_20=-0.74, RCVD_NUMERIC_HELO=2.067 X-Spam-Level: X-Archive-Number: 200711/112 X-Sequence-Number: 27355 Mike Blackwell написа: > I have a system that's been giving the nonstandard use of \\...' warning > in the postgresql log. Is there a way to get the SQL associated with > the warning without logging all the sql statements being processed? Yes, set "log_min_error_statement" to "WARNING" (http://www.postgresql.org/docs/current/static/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHEN). -- Milen A. Radev