Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t6vuu-00GVcF-0f for pgsql-docs@arkaria.postgresql.org; Fri, 01 Nov 2024 17:58:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t6vus-00G0w8-BK for pgsql-docs@arkaria.postgresql.org; Fri, 01 Nov 2024 17:58:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t6vus-00G0w0-0X for pgsql-docs@lists.postgresql.org; Fri, 01 Nov 2024 17:58:34 +0000 Received: from hq.msys.ch ([46.175.8.8] helo=mx.msys.ch) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t6vul-003zwm-1f for pgsql-docs@lists.postgresql.org; Fri, 01 Nov 2024 17:58:33 +0000 Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=msys.ch; s=dkim; t=1730483902; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/nU6Cc4/1dQKVYHMrzLcOV/sdSjx0xjdwwTRiKSqibw=; b=bJOJfWgLKNDcb3pugFsduR8RCh7yw/pA/8KHUgGxsLDrR3VZln7aNQedLFE7BvfGTO7Zkh 8jnPj2BeY+OSWeTrsT7C6XGKnMJb46f6Go1YWhpQ8rsioIPaIHiFQnyb5ybnttKhsgUV47 5uB8EMOxwPU4cH4Y62w5nT97Fygp3k4= Authentication-Results: mx.msys.ch; auth=pass smtp.mailfrom=marc@msys.ch Content-Transfer-Encoding: quoted-printable From: Marc Balmer Mime-Version: 1.0 Subject: Re: Documentation of .pgpass for Unix is incomplete Date: Fri, 1 Nov 2024 18:58:10 +0100 Message-Id: <8040FD9E-746C-42E8-ADE5-26FC0B0C0749@msys.ch> References: Cc: pgsql-docs@lists.postgresql.org In-Reply-To: To: Momjian Bruce X-Spamd-Bar: -- List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thanks, Bruce! > Am 01.11.2024 um 18:32 schrieb Bruce Momjian : >=20 > =EF=BB=BFOn Tue, Aug 20, 2024 at 09:24:43AM +0200, Marc Balmer wrote: >>=20 >>> Well, it is more complicated than checking just HOME because it calls >>> getpwuid_r() if HOME is not set: >>>=20 >>> https://doxygen.postgresql.org/fe-connect_8c.html#a3f49cbb20595c1765b= d0db5ff434c9c3 >>>=20 >>> Is it worth going into that detail in the docs? >>=20 >> Yes definitely. This not being properly documented caused me hours of wo= rk=E2=80=A6 >=20 > Patch applied, thanks. >=20 > -- > Bruce Momjian https://momjian.us > EDB https://enterprisedb.com >=20 > When a patient asks the doctor, "Am I going to die?", he means > "Am I going to die soon?"