Re: Issues with building snap packages and psql
От | Robert Haas |
---|---|
Тема | Re: Issues with building snap packages and psql |
Дата | |
Msg-id | CA+TgmobBq8oP8GWOhBgZzNaOiSFBC-KUf0uuT86DLvCysYyMdA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Issues with building snap packages and psql ("Joshua D. Drake" <jd@commandprompt.com>) |
Ответы |
Re: Issues with building snap packages and psql
|
Список | pgsql-hackers |
On Wed, Oct 26, 2016 at 2:22 PM, Joshua D. Drake <jd@commandprompt.com> wrote: > After some further investigation and collaboration with #postgresql it looks > like what we have here is an actual bug or at least improper implementation. > Apparently, we use getpwuid on the euid to locate the 'home directory'. This > is incorrect (as well as inconsistent to our own documentation) [1]. Our > documentation says that dotfiles are ~/.whatever, and ~ on its own in shell > means the value of $HOME, it does NOT mean the current user's homedir from > getpwuid. > > > 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 -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: