.psql_history": No such file

From: ivan marchesini <marchesini(at)unipg(dot)it>
To: pgsql-sql(at)postgresql(dot)org
Subject: .psql_history": No such file
Date: 2009-06-26 15:53:15
Message-ID: 1246031595.4836.27.camel@ivangeo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Dear users,

I have installed a postgres db using a datadir different
from /var/lib/pgsql/.psql_history.

then:
su postgres
psql postgres

All went fine but when I exit from psql from a db I obtain:
_______
could not save history to file "/var/lib/pgsql/.psql_history": No such
file or directory
_______

how can I fix this problem? where can I say psql that it must
write .psql_history into the datadir?

many thanks...
ivan

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2009-06-26 16:11:54 Re: .psql_history": No such file
Previous Message bricklen 2009-06-25 20:02:31 Re: Bucketing Row Data in columns