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 084d03e5-0303-955f-07f5-36f8c794ed3d@commandprompt.com
Whole thread Raw
In response to Re: Issues with building snap packages and psql  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Issues with building snap packages and psql  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 10/26/2016 12:10 PM, Joshua D. Drake wrote:
> On 10/26/2016 11:33 AM, Robert Haas wrote:
>> On Wed, Oct 26, 2016 at 2:22 PM, Joshua D. Drake

>>> It is also inconsistent with how other programs behave. For example
>>> if psql
>>> uses readline, and you change the value of $HOME, then readline uses
>>> $HOME/.inputrc whereas psql does not use $HOME/.psqlrc.
>>
>> Sounds like the same issue that Rudolf Gavlas complained about in
>> https://www.postgresql.org/message-id/CAEH6cQqbdbXoUHJBbX9ixwfjFFsUC-a8hFntKcci=diWgBb3fQ@mail.gmail.com


This problem clearly an improper implementation on our part. We have 
found a work around by wrapping the launch of psql so we can set PSQLRC. 
At some point, perhaps with v10 we could change this. This problem has 
been noted on other ends of the innertubes as well (we submitted this as 
a potential bug to Ubuntu and they too found that we don't handle this 
correctly).

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: Robert Haas
Date:
Subject: Re: [BUG] pg_basebackup from disconnected standby fails
Next
From: Gilles Darold
Date:
Subject: Re: Patch to implement pg_current_logfile() function