Re: Issues with building snap packages and psql

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Issues with building snap packages and psql
Date: 2016-10-26 17:29:21
Message-ID: 6ed0ec94-9dd7-190f-6610-8cd4af444106@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)commandprompt(dot)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? And this 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-10-26 17:39:01 Re: Improving RLS planning
Previous Message Andres Freund 2016-10-26 17:26:08 Re: Issues with building snap packages and psql