Re: psql and pgpass.conf on Windows

From: pf(at)pfortin(dot)com
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: psql and pgpass.conf on Windows
Date: 2023-06-30 12:38:55
Message-ID: 20230630083855.7cbe1ab7@pfortin.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 29 Jun 2023 20:27:59 -0700 David G. Johnston wrote:

>On Thu, Jun 29, 2023 at 7:42 PM <pf(at)pfortin(dot)com> wrote:
>
>> Trying to write a script that will run on Linux, Windows, and Mac.
>>
>
>This seems impossible on its face unless you use WSL within the Windows
>environment. And if you are doing that, then the pathing would be WSL
>pathing, not native Windows.
>David J.

Sorry, a Python script which has support for each platform.

We have scripts which run on all; the real question is why is psql not
finding/using pgpass.conf... (see my reply to Julien Rouhaud)

Regards,
Pierre

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chandy G 2023-06-30 17:06:38 Toasted column values during replication
Previous Message pf 2023-06-30 12:38:54 Re: psql and pgpass.conf on Windows