X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EEB7953BD6 for ; Sun, 3 Apr 2005 03:57:09 +0100 (BST) 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 55771-06 for ; Sun, 3 Apr 2005 02:57:05 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id 3657953B68 for ; Sun, 3 Apr 2005 03:56:27 +0100 (BST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j332uYd11489; Sat, 2 Apr 2005 21:56:34 -0500 (EST) From: Bruce Momjian Message-Id: <200504030256.j332uYd11489@candle.pha.pa.us> Subject: Re: Query history file In-Reply-To: <20050401234205.97453.qmail@web25609.mail.ukl.yahoo.com> To: Mauro Bertoli Date: Sat, 2 Apr 2005 21:56:34 -0500 (EST) Cc: pgsql-sql@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.011 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/20 X-Sequence-Number: 20913 Mauro Bertoli wrote: > Hi, > I've installed a Postgres 8.0. > There's a history file with all executed queries? If you are using psql, \s will show you your old queries. From the server side, if you enable 'log_statement' all queries will go into the server logs. -- 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