Re: save history error, ignorable?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Frankel <leknarf(at)pacbell(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: save history error, ignorable?
Date: 2005-11-10 18:20:16
Message-ID: 10612.1131646816@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Frankel <leknarf(at)pacbell(dot)net> writes:
> [ Mac OS X ]
> could not save history to file "<my_home_dir>/.psql_history":
> Invalid argument

> Searching the archives, I found a thread about this error wherein the
> poster "solved" the problem by commenting out the reporting code in
> the source file.

If you look back further, there is more discussion of this several
months back. It seems that libedit and libreadline are not compatible
about how write_history() reports errors. We haven't figured out a
nice solution for this yet.

> - Is the error msg ignorable?

Pretty much.

> - Does the correct lib exist on MacOSX?

You can grab libreadline and install it into /usr/local, or use the
version from Fink.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John DeSoi 2005-11-10 18:30:18 Re: Dynamic web sites with PostgreSQL
Previous Message Andrus 2005-11-10 18:03:38 How to install Slony in windows