Re: save history error, ignorable? - Mailing list pgsql-general

From Tom Lane
Subject Re: save history error, ignorable?
Date
Msg-id 10612.1131646816@sss.pgh.pa.us
Whole thread Raw
In response to save history error, ignorable?  (Scott Frankel <leknarf@pacbell.net>)
Responses Re: save history error, ignorable?  (Scott Frankel <leknarf@pacbell.net>)
List pgsql-general
Scott Frankel <leknarf@pacbell.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

pgsql-general by date:

Previous
From: "Andrus"
Date:
Subject: How to install Slony in windows
Next
From: John DeSoi
Date:
Subject: Re: Dynamic web sites with PostgreSQL