Hi,
I am writting postgres application using libpq C library and planning to use pg_service.conf file for database connection settings(like host, port etc.). Default path for this file is "etc/pg_service.conf". I want to change this path to some other directory. Can we change it?
I know one option to do this is to set 'PGSYSCONFDIR' environment variable. Do we have any other option to set this path?
Can we set it through conf files(like postgresql.conf) or through 'libpq' functions?
Thanks, Trupti