Re: CREATE SUBSCRIPTION not picking up .pgpass while psql does
В списке pgsql-general по дате отправления:
| От | hubert depesz lubaczewski |
|---|---|
| Тема | Re: CREATE SUBSCRIPTION not picking up .pgpass while psql does |
| Дата | |
| Msg-id | 20220831132757.GA28040@depesz.com обсуждение исходный текст |
| Ответ на | Re: CREATE SUBSCRIPTION not picking up .pgpass while psql does (Kristjan Mustkivi <sonicmonkey@gmail.com>) |
| Ответы |
Re: CREATE SUBSCRIPTION not picking up .pgpass while psql does
|
| Список | pgsql-general |
On Wed, Aug 31, 2022 at 04:26:22PM +0300, Kristjan Mustkivi wrote: > And as said, the psql utility has no problems finding the .pgass where > it is. If I lie to it about the pgpass location i.e by giving > passfile=/root/.pgpassx it will ask for password. of course it doesn't have problem, because you run it as root. put subscription is run by pg backend, which runs as postgres user, not root! also - no pg tool cares about "passfile" env variable, so it is just ignored. Best regards, depesz
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера