Re: location of pgpass.conf

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: theman(at)fdrsucks(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: location of pgpass.conf
Date: 2021-05-02 03:27:22
Message-ID: 20210502032722.f6tew7j2wbcugevd@nol
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Sat, May 01, 2021 at 11:14:43PM -0400, Bruce Momjian wrote:
> On Sun, May 2, 2021 at 01:38:04AM +0000, PG Doc comments form wrote:
> > The following documentation comment has been logged on the website:
> >
> > Page: https://www.postgresql.org/docs/13/libpq-pgpass.html
> > Description:
> >
> > The file location needs to be more clear. It didn't work on my Local
> > profile, only my Roaming profile:
> >
> > AppData\Roaming\postgresql
> >
> > Although it should work under Local profile too as Local is more secure than
> > Roaming.
>
> I don't even know what operating system you are using, let alone what a
> roaming or local profile are. If you want things clarified, you have to
> be clearer yourself.

AppData is a Windows thing. The documentation is correct as far as I can see,
as Windows documents the Roaming folder as APPDATA, in opposition to
LOCAL_APPDATA, which is the one OP tried first.

See https://docs.microsoft.com/en-us/windows/win32/shell/csidl for more
details.

I think you can open %APPDATA% in Windows explorer to get the correct location
if needed.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message William F. Robertson, Jr 2021-05-02 03:46:09 RE: location of pgpass.conf
Previous Message Bruce Momjian 2021-05-02 03:14:43 Re: location of pgpass.conf