Re: psql error on quitting... - Mailing list pgsql-general

From Andreas Seltenreich
Subject Re: psql error on quitting...
Date
Msg-id 87d5laqa4e.fsf@gate450.dyndns.org
Whole thread Raw
In response to Re: psql error on quitting...  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql error on quitting...  (Jerry LeVan <jerry.levan@eku.edu>)
List pgsql-general
Tom Lane writes:

> Jerry LeVan <jerry.levan@eku.edu> writes:
>> I just upgraded from 8.0.4 to 8.1.0 this afternoon and the only thing
>> "bad" I have noticed is that whenever I quit psql I get a message:
>> could not save history to file "/Users/jerry/.psql_history": Invalid
>> argument
>> This is on MacOS X 10.4.3
>
> The Postgres code in that area hasn't changed at all.

input.c has:

--8<---------------cut here---------------start------------->8---
revision 1.45
date: 2005/06/10 15:40:41;  author: momjian;  state: Exp;  lines: +2 -2
Use saveHistory so we get a nice error message on failure.
--8<---------------cut here---------------end--------------->8---

So, the error probably also occured in 8.0.4, but just wasn't reported
at all.

regards,
Andreas

pgsql-general by date:

Previous
From: "Peter Filipov"
Date:
Subject: insert on duplicate update?
Next
From: Martijn van Oosterhout
Date:
Subject: Re: insert on duplicate update?