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.