pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pf@pfortin.com
To: pgsql-general@lists.postgresql.org
Subject: Re: psql and pgpass.conf on Windows
Date: Fri, 30 Jun 2023 08:38:55 -0400
Message-ID: <20230630083855.7cbe1ab7@pfortin.com> (raw)
In-Reply-To: <CAKFQuwamRLStJ=NjYKMFmM-v3EfmmqLpHyT1fyP+t48cq7qtUQ@mail.gmail.com>
References: <20230629224200.080cc1a4.pfortin@pfortin.com>
	<CAKFQuwamRLStJ=NjYKMFmM-v3EfmmqLpHyT1fyP+t48cq7qtUQ@mail.gmail.com>

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

>On Thu, Jun 29, 2023 at 7:42 PM <pf@pfortin.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





view thread (8+ messages)  latest in thread

Message-ID: <20230630083855.7cbe1ab7@pfortin.com>
Permalink:  ../20230630083855.7cbe1ab7@pfortin.com/
Also on:    postgresql.org/message-id/20230630083855.7cbe1ab7@pfortin.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: pf@pfortin.com
  Subject: Re: psql and pgpass.conf on Windows
  In-Reply-To: <20230630083855.7cbe1ab7@pfortin.com>
  References: <20230629224200.080cc1a4.pfortin@pfortin.com> <CAKFQuwamRLStJ=NjYKMFmM-v3EfmmqLpHyT1fyP+t48cq7qtUQ@mail.gmail.com> <20230630083855.7cbe1ab7@pfortin.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox