Doc: clarify location of libpq's default service file on Windows.
authorTom Lane <[email protected]>
Thu, 19 May 2022 22:36:07 +0000 (18:36 -0400)
committerTom Lane <[email protected]>
Thu, 19 May 2022 22:36:07 +0000 (18:36 -0400)
commitb57e30c774bc75db67d936a019288d57f6869b1f
treed525e363f84fa947419cd2c5ddf2a3b1c3c5e4a3
parent29d11151875fb7b4c76ac7b03444dcd7b4a8597f
Doc: clarify location of libpq's default service file on Windows.

The documentation didn't specify the name of the per-user service file
on Windows, and extrapolating from the pattern used for other config
files gave the wrong answer.  The fact that it isn't consistent with the
others sure seems like a bug, but it's far too late to change that now;
we'd just penalize people who worked it out in the past.  So, simply
document the true state of affairs.

In passing, fix some gratuitous differences between the discussions
of the service file and the password file.

Julien Rouhaud, per question from Dominique Devienne.

Backpatch to all supported branches.  I (tgl) also chose to back-patch
the part of commit ba356a397 that touched libpq.sgml's description of
the service file --- in hindsight, I'm not sure why I didn't do so at
the time, as it includes some fairly essential information.

Discussion: https://postgr.es/m/CAFCRh-_mdLrh8eYVzhRzu4c8bAFEBn=rwoHOmFJcQOTsCy5nig@mail.gmail.com
doc/src/sgml/libpq.sgml