Re: [PG19-3 PATCH] Don't ignore passfile

Поиск
Список
Период
Сортировка
От Umar Hayat
Тема Re: [PG19-3 PATCH] Don't ignore passfile
Дата
Msg-id CAD68Dp16ucP0yVe9sMnO2jKF-gj3=FvPJS1OZUS14XjHk6LagQ@mail.gmail.com
обсуждение исходный текст
Ответ на [PG19-3 PATCH] Don't ignore passfile  (postgresql.cache976@passmail.net)
Список pgsql-hackers
Hi,
I haven't reviewed your patch, Not sure what would be expected
behaviour but the current one is documented in PostgreSQL
documentation [1], so there should not be any surprises for users.
"On Unix systems, the permissions on a password file must disallow any
access to world or group; achieve this by a command such as chmod 0600
~/.pgpass. If the permissions are less strict than this, the file will
be ignored. On Microsoft Windows, it is assumed that the file is
stored in a directory that is secure, so no special permissions check
is made."

Maybe it should be highlighted in documentation as a *Note* to put
some more emphasis?

[1] https://www.postgresql.org/docs/current/libpq-pgpass.html

-- 
Umar Hayat
SKAI Worldwide (https://skaiworldwide.com/)



В списке pgsql-hackers по дате отправления: