Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f5KGWGa87335 for ; Wed, 20 Jun 2001 12:32:16 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5KEt3a38635; Wed, 20 Jun 2001 10:55:03 -0400 (EDT) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.1) with HTTP id 74539; Wed, 20 Jun 2001 07:54:59 -0700 From: "Josh Berkus" Subject: Re: [SQL] log file To: "Richard Huxton" , "Jie Liang" Cc: , X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Wed, 20 Jun 2001 07:54:59 -0700 Message-ID: In-Reply-To: <009101c0f970$220cee20$1001a8c0@archonet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200106/131 X-Sequence-Number: 1688 Richard, Jiang, > I *think* you want DEBUG_PRINT_QUERY and its friends. See Ch 3.4.2 of > the > Administrators Guide. Actually, Jiang need to re-start the postmaster with the command-line options for logging set. Annoyingly, the default init.d script for Postgres in most RPMs starts Postgres without any logging. Unfortunately, I'm at a remote terminal right now, so I can't post an example. -Josh Berkus ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco