Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qFDPF-0000LB-Ly for pgsql-general@arkaria.postgresql.org; Fri, 30 Jun 2023 12:39:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qFDPE-0003wi-IB for pgsql-general@arkaria.postgresql.org; Fri, 30 Jun 2023 12:39:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qFDPE-0003wI-7E for pgsql-general@lists.postgresql.org; Fri, 30 Jun 2023 12:39:20 +0000 Received: from rs6162.luxsci.com ([162.142.76.255]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qFDPB-001MVF-NH for pgsql-general@lists.postgresql.org; Fri, 30 Jun 2023 12:39:19 +0000 Received: from pfortin.com (h231.250.89.75.dynamic.ip.windstream.net [75.89.250.231]) (authenticated bits=0) by rs6162.luxsci.com (8.15.2/8.14.9) with ESMTPSA id 35UCdFMn562298 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 30 Jun 2023 12:39:16 GMT Date: Fri, 30 Jun 2023 08:38:55 -0400 From: pf@pfortin.com To: pgsql-general@lists.postgresql.org Subject: Re: psql and pgpass.conf on Windows Message-ID: <20230630083855.7cbe1ab7@pfortin.com> In-Reply-To: References: <20230629224200.080cc1a4.pfortin@pfortin.com> X-Mailer: Claws Mail 4.1.1git47 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Lux-Comment: Message 35UCdFMn562298 sent by user #22429 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pfortin.com; h=date:from:to:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=dkim; bh=7TnMU4lKKEngtf6ZeR0sR+4Qz3NBrNrJyP6QUS67eII=; b=fiw0W9+Lw8PJB/iR4yZT0ustPP0ZNygcspZLQmGG8o2q4W2LiAeEMtdv8eQZXlB9RhEKMm54j/f9OmJDXRwNqDuB57/x5ogu6zV6DdHmhgirW+7Xivzf0rFEfCfOh6FQY1eDtP23td9VlPK37IgDPjuWrV6Of03tydC+Kxll6rE= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 29 Jun 2023 20:27:59 -0700 David G. Johnston wrote: >On Thu, Jun 29, 2023 at 7:42=E2=80=AFPM wrote: > >> Trying to write a script that will run on Linux, Windows, and Mac. >> =20 > >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