Search Postgresql Archives

Re: save history error, ignorable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Scott Frankel <leknarf@xxxxxxxxxxx> 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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux