| From: | Dominique Devienne <ddevienne(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | No default for (user-specific) service file location on Windows? |
| Date: | 2022-05-19 07:49:50 |
| Message-ID: | CAFCRh-_mdLrh8eYVzhRzu4c8bAFEBn=rwoHOmFJcQOTsCy5nig@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi,
The doc is explicit about defaults for the password file:
From https://www.postgresql.org/docs/current/libpq-pgpass.html
Linux: ~/.pgpass
Windows: %APPDATA%\postgresql\pgpass.conf
But for the service file OTOH, only the Linux default is documented:
From: https://www.postgresql.org/docs/current/libpq-pgservice.html
Linux: ~/.pg_service.conf
Windows: N/A
I tried the obvious %APPDATA%\postgresql\pg_service.conf, with no luck.
So is this a lack in the documentation for the service file?
Or is it instead a lack of symmetry in the implementations of these
two mechanisms?
If the latter, any chance the symmetry would be restored? (with
corresponding doc update).
I guess the only work-around specific to Windows at this point, if the latter,
would be defining the PGSERVICEFILE env-var explicitly? --DD
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Julien Rouhaud | 2022-05-19 08:17:42 | Re: No default for (user-specific) service file location on Windows? |
| Previous Message | Laurenz Albe | 2022-05-19 07:10:04 | Re: In case of network issues, how long before archive_command does retries |