Re: "save history" problem

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: "David F(dot) Johnson" <dfjohnson(at)cabaret(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: "save history" problem
Date: 2006-04-24 17:59:17
Message-ID: 20060424175917.GC2747@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Apr 23, 2006 at 09:33:40PM -0400, David F. Johnson wrote:
> Greetings.
>
> Any ideas on how to resolve this problem:

<snip>

> test=# \q
> could not save history to file "/usr/local/pgsql//.psql_history": Permission
> denied

I don't know about the platform, but shouldn't that refer to your home
directory?

> Other installations of stable releases of 8.x.x did not have this problem,
> 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.

Something like: \set HISTFILE 'blah' should do it, check the docs.

> That said, shouldn't
> /usr/local/pgsql//.psql_history
> be
> /usr/local/pgsql/.psql_history

There's no difference (semantically) between the two...

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John Oliver 2006-04-24 18:41:26 Re: Problems logging in
Previous Message Martijn van Oosterhout 2006-04-24 17:55:07 Re: isnumeric - checking if text variable is convertable to numeric