Re: Issues with building snap packages and psql - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: Issues with building snap packages and psql
Date
Msg-id 6ed0ec94-9dd7-190f-6610-8cd4af444106@commandprompt.com
Whole thread Raw
In response to Re: Issues with building snap packages and psql  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 10/26/2016 10:26 AM, Andres Freund wrote:
>
>
> On October 26, 2016 8:09:11 PM GMT+03:00, "Joshua D. Drake" <jd@commandprompt.com> wrote:
>
>> postgres=# \! export
>> export HOME='/home/jd/snap/postgresql96/1'
>
> That doesn't do much. Isn't that just spawning a shell in which you set the variable, which then immediately exits?
Andthis the value isn't set anywhere relevant?
 

I was assuming (and TGL corrected me) that psql was going to pull the 
$HOME variable to determine where to read/write .psqlrc and .psql_history.

Sincerely,

JD


-- 
Command Prompt, Inc.                  http://the.postgres.company/                        +1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Everyone appreciates your honesty, until you are honest with them.
Unless otherwise stated, opinions are my own.



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Issues with building snap packages and psql
Next
From: Robert Haas
Date:
Subject: Re: Improving RLS planning