On Mon, 24 Apr 2006, David F. Johnson wrote:
...
could not save history to file "/usr/local/pgsql//.psql_history": Unknown
error: 0
...
though I'm just now running it under Mac OS X Tiger (10.4.6). I'm guessing
it's a Tiger issue but I don't know what to do about it.
This was answered by Tom Lane in the NOVICE list recently. The
problem is that X.4 uses a fake readline library. You need to
download and install the real GNU Readline, having eliminated the
readline > whatever symlink. Then recompile and reinstall
PostgreSQL.