Re: [GENERAL] ~/.psqlrc file is ignored
От | David G. Johnston |
---|---|
Тема | Re: [GENERAL] ~/.psqlrc file is ignored |
Дата | |
Msg-id | CAKFQuwbwdn1q9NJNFvV=sbArAuoGoRZ+=37iuipBLf6e1dp5Rw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [GENERAL] ~/.psqlrc file is ignored (vstuart <mail@VictoriasJourney.com>) |
Ответы |
Re: [GENERAL] ~/.psqlrc file is ignored
|
Список | pgsql-general |
As a simple solution, I can sudo symlink MY ~/.psqlrc to that directory (/var/...; changing ownership also to postgres), but there appears to be some underlying issue, as Pg should find ~/.psqlrc, correct?
What does "your" ~/.psqlrc have to do with any of this? If you are executing psql while masquarding at the postgres user its the postgres user's ~/.psqlrc file that will be looked for.
Typically one doesn't execute psql as the postgres user. They configure the system so that they can execute psql as a regular user. You should probably do that and then everything should work like you are thinking.
David J.
В списке pgsql-general по дате отправления: