Thread: pgsql: Make path to pg_service.conf absolute in documentation
Make path to pg_service.conf absolute in documentation The system file is always in the absolute path /etc/, not relative. David Fetter Branch ------ REL9_0_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/07bec318b4f19ffe08cbcb7aaeed0e4949fd0cef Modified Files -------------- doc/src/sgml/libpq.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
On 1/3/15 7:22 AM, Magnus Hagander wrote: > Make path to pg_service.conf absolute in documentation > > The system file is always in the absolute path /etc/, not relative. This change is incorrect. pg_service.conf is never at /etc/pg_service.conf. It would be at /etc/postgresql/pg_service.conf, if you configured with --sysconfdir=/etc. I think the intent of the original wording was that it was in the etc directory relative to the installation root. I think that is more correct than claiming that it is always in one particular location. > > David Fetter > > Branch > ------ > REL9_0_STABLE > > Details > ------- > http://git.postgresql.org/pg/commitdiff/07bec318b4f19ffe08cbcb7aaeed0e4949fd0cef > > Modified Files > -------------- > doc/src/sgml/libpq.sgml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >
On 01/13/2015 04:16 PM, Peter Eisentraut wrote: > On 1/3/15 7:22 AM, Magnus Hagander wrote: >> Make path to pg_service.conf absolute in documentation >> >> The system file is always in the absolute path /etc/, not relative. > This change is incorrect. pg_service.conf is never at > /etc/pg_service.conf. It would be at /etc/postgresql/pg_service.conf, > if you configured with --sysconfdir=/etc. > > I think the intent of the original wording was that it was in the etc > directory relative to the installation root. I think that is more > correct than claiming that it is always in one particular location. > There was a long discussion about this on -hackers a week or so ago. I'm not sure what the outcome was - it seemed rather messy. cheers andrew