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 1t6vVn-00GTSw-UR for pgsql-docs@arkaria.postgresql.org; Fri, 01 Nov 2024 17:32:39 +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 1t6vVl-00Fmq6-Nf for pgsql-docs@arkaria.postgresql.org; Fri, 01 Nov 2024 17:32:38 +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 1t6vVl-00Fmpx-Fy for pgsql-docs@lists.postgresql.org; Fri, 01 Nov 2024 17:32:37 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t6vVj-003zlF-37 for pgsql-docs@lists.postgresql.org; Fri, 01 Nov 2024 17:32:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=DFeJJ5r2yYmkPVWf+8Rma0qjSdE5v/yKK4U162yf0gw=; b=cy31ICWAH7iRc+91tSoKPjuxL5 DKTIykypdHq+SYl6xKrCAfRDjEZ6rL5uZtouKoojY6m/a4DSBuEuTHp06KSxBRHB4cukKsBeVUuCE 0lPfi9dbc1OwgkmHwFZP/UnYpC6nyR38K+lkiY3kohS44ZNfh+7+jQbhHvY3BArnmW03qrc2dZmkO 73bQmA/YoQSWEzRqS0CT/ABMRquOacBXylM+n5rVFVt0C7NjQwF1GAaxSiaBi9I2diTXj+f1uuWEa Ttc3rqatmYLqNxulgISdw10XP+XpMybrhTA0PaD7NaG+KMFDgwebrLji/+ApdrTv8tGCG8nD2LBbQ 7svcHhqA==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1t6vVg-008wF8-1V; Fri, 01 Nov 2024 13:32:32 -0400 Date: Fri, 1 Nov 2024 13:32:32 -0400 From: Bruce Momjian To: Marc Balmer Cc: pgsql-docs@lists.postgresql.org Subject: Re: Documentation of .pgpass for Unix is incomplete Message-ID: References: <172311029184.915368.14898011794686876553@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Aug 20, 2024 at 09:24:43AM +0200, Marc Balmer wrote: > > > Well, it is more complicated than checking just HOME because it calls > > getpwuid_r() if HOME is not set: > > > > https://doxygen.postgresql.org/fe-connect_8c.html#a3f49cbb20595c1765bd0db5ff434c9c3 > > > > Is it worth going into that detail in the docs? > > Yes definitely. This not being properly documented caused me hours of work… Patch applied, thanks. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com When a patient asks the doctor, "Am I going to die?", he means "Am I going to die soon?"