Search Postgresql Archives

Re: Permissions on postgresql.conf, psql and patroni

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	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






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux