Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 865BA475C15 for ; Mon, 23 Sep 2002 20:14:38 -0400 (EDT) Received: from little.gearcc.com (offback-ip05.wmis.net [216.109.193.78]) by postgresql.org (Postfix) with ESMTP id AC99D475B8F for ; Mon, 23 Sep 2002 20:14:37 -0400 (EDT) Received: from offback2000 (wkst74.gearcc.com [216.109.193.74]) by little.gearcc.com (Postfix on SuSE Linux 7.2 (i386)) with SMTP id 229E316177; Mon, 23 Sep 2002 19:28:35 -0400 (EDT) Message-ID: <00df01c26360$e154b370$4ac16dd8@offback2000> From: "Phil Geer" To: , "pgsql-admin" References: Subject: Re: logging queries Date: Mon, 23 Sep 2002 20:25:25 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/248 X-Sequence-Number: 5787 Here is a link to the doc you need. http://www.postgresql.org/idocs/index.php?runtime-config.html#LOGGING DEBUG_PRINT_QUERY (boolean) DEBUG_PRINT_PARSE (boolean) DEBUG_PRINT_REWRITTEN (boolean) DEBUG_PRINT_PLAN (boolean) DEBUG_PRETTY_PRINT (boolean) Hope this helps Phil ----- Original Message ----- From: "Nick Fankhauser" To: "pgsql-admin" Sent: Monday, September 23, 2002 6:05 PM Subject: [ADMIN] logging queries > Hi- > > I'd like to set the logging or debug level so that the text of the queries > that are executed show up in the log file. It seems to me that I recall this > being discussed before, but I can't find any specific references in the > runtime-config portion of the docs. > > Can someone tell me if this is possible & if so, what runtime settings are > needed? > > Thanks > > -Nick > > -------------------------------------------------------------------------- > Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 > Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >