Re: More explicit documentation neede on "pgpass"

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Geoff Michaels <geoff(at)gmcl(dot)com>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: More explicit documentation neede on "pgpass"
Date: 2022-10-03 16:10:51
Message-ID: 20221003161051.loqduowtfwuaq54v@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Mon, Oct 03, 2022 at 09:25:58AM -0600, Geoff Michaels wrote:
> Thanks. I had missed the distinction between $APPDATA$ and %APPDATA%. I
> will assume that I will find that %APPDATA% defaults to
> ...\APPDATA\ROAMING.
>
> If one is inspired to try to "idiot-proof" the documentation, one could
> insert the parenthetical expression "(typically \AppData\Roaming)" for
> those that use Windows out of the box and are directed to bonafide
> documentation that assumes a lot about the users.

Current Windows documentation says for CSIDL_APPDATA / FOLDERID_RoamingAppData
at https://learn.microsoft.com/en-us/windows/win32/shell/csidl:

> The file system directory that serves as a common repository for
> application-specific data. A typical path is C:\Documents and
> Settings\username\Application Data.

I was never able to find out what "typical" exactly mean. Is it something
configurable, or that can change at any point without any notice? I personally
don't think that trying to put some example value that may not be accurate for
the user is going to help, especially if that's not true on all currently
supported versions of Windows (and I don't know if that's the case, and even if
it's right now we will most certainly forget to update it the next time it
changes). Relying on dynamic variable resolution really seems like the best
thing to do.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Geoff Michaels 2022-10-03 16:32:02 Re: More explicit documentation neede on "pgpass"
Previous Message Geoff Michaels 2022-10-03 15:25:58 Re: More explicit documentation neede on "pgpass"