Re: Permissions on postgresql.conf, psql and patroni

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: Permissions on postgresql.conf, psql and patroni
Дата
Msg-id 925de979-955f-45c3-a680-7893bb4afb17@manitou-mail.org
обсуждение исходный текст
Ответ на Permissions on postgresql.conf, psql and patroni  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Ответы Re: Permissions on postgresql.conf, psql and patroni
Список pgsql-general
    Peter J. Holzer wrote:

> 2) Why does psql need to read postgresql.conf, and more specifically,
>   why does it care about the location of the data directory? It
>   shouldn't access files directly, just talk to the server via the
>   socket.

It's not psql itself, it's pg_wrapper.

$ ls -l /usr/bin/psql
lrwxrwxrwx 1 root root 37 Aug  8 12:48 /usr/bin/psql ->
../share/postgresql-common/pg_wrapper

See http://manpages.ubuntu.com/manpages/bionic/man1/pg_wrapper.1.html


Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite



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

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: Permissions on postgresql.conf, psql and patroni
Следующее
От: nikhil raj
Дата:
Сообщение: database "cdf_100_1313" does not exist