From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Ashok Chauhan <ashok@kalculate.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: see previous queries
Date: Thu, 4 Dec 2003 02:20:05 -0800 (PST)
Message-ID: <20031204021642.Y59241@megazone.bigpanda.com> (raw)
In-Reply-To: <1070522017.1270.24.camel@chi>
References: <1070522017.1270.24.camel@chi>
On Wed, 4 Dec 2003, Ashok Chauhan wrote:
> i am a new user in postgresql.
> problem:- in postgresql there is any command to see history (previous
> day queries) like as history command in linux.
Not precisely. For the backend, you can log the statements that are run
by changing the postgresql.conf and use the log.
In psql, you can get something similar to history with \s I believe, but
that's only for your history not the entire server's history.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sszabo@megazone.bigpanda.com, ashok@kalculate.com
Subject: Re: see previous queries
In-Reply-To: <20031204021642.Y59241@megazone.bigpanda.com>
References: <1070522017.1270.24.camel@chi> <20031204021642.Y59241@megazone.bigpanda.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox