Re: alternate psql file locations - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: alternate psql file locations
Date
Msg-id 20120827021318.GA28780@momjian.us
Whole thread Raw
In response to Re: alternate psql file locations  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: alternate psql file locations
List pgsql-hackers
On Mon, Jan  2, 2012 at 11:18:47AM -0500, Andrew Dunstan wrote:
> >>It's worked for things I've wanted, I haven't tried it for psql
> >>stuff....
> >>
> >
> >
> >Yeah, but it's a bit hacky. I might well not want $HOME reset.
> >Here's a small patch that does what I think would suit me and
> >Alvaro.
> >
> >
> 
> Incidentally, this actually doesn't work anyway. psql gets the home
> path from getpwuid() and ignores $HOME. You could argue that that's
> a bug, but it's been that way for a long time.

So, do we want to fix this and honor $HOME?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: 64-bit API for large object
Next
From: Andrew Dunstan
Date:
Subject: Re: alternate psql file locations