On 10/26/2016 10:26 AM, Andres Freund wrote:


On October 26, 2016 8:09:11 PM GMT+03:00, "Joshua D. Drake" 
<j...@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? 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.


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to