Re: Query history file

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Mauro Bertoli <bertolima(at)yahoo(dot)it>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Query history file
Date: 2005-04-03 02:56:34
Message-ID: 200504030256.j332uYd11489@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Yasir Malik 2005-04-03 03:49:52 Re: Date/Time Conversion
Previous Message Mauro Bertoli 2005-04-01 23:42:05 Query history file