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 1sNEtz-007W9V-ON for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Jun 2024 16:56:47 +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 1sNEty-005xRb-2b for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Jun 2024 16:56:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sNEtx-005xRT-Qx for pgsql-bugs@lists.postgresql.org; Fri, 28 Jun 2024 16:56:46 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sNEtv-0041P3-UC for pgsql-bugs@lists.postgresql.org; Fri, 28 Jun 2024 16:56:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 45SGufVw1987631; Fri, 28 Jun 2024 12:56:41 -0400 From: Tom Lane To: "David G. Johnston" cc: Francisco Olarte , PostgreSQL Bug List Subject: Re: LibPQ doesn't say host=* translates to localhost In-reply-to: References: Comments: In-reply-to "David G. Johnston" message dated "Fri, 28 Jun 2024 09:11:17 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1987629.1719593801.1@sss.pgh.pa.us> Date: Fri, 28 Jun 2024 12:56:41 -0400 Message-ID: <1987630.1719593801@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > Good catch. > ping '*' > ping: *: Name or service not known > This is Ubuntu. Yeah, I see the same on a couple different Red Hat versions. Very interesting, since it implies that ping is using something other than getaddrinfo(3) to resolve the hostname. I'm not quite interested enough to go find out what, though. regards, tom lane