Re: LibPQ doesn't say host=* translates to localhost

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Francisco Olarte <folarte(at)peoplecall(dot)com>, PostgreSQL Bug List <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: LibPQ doesn't say host=* translates to localhost
Date: 2024-06-28 16:56:41
Message-ID: 1987630.1719593801@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2024-06-28 17:24:32 BUG #18526: 'UPDATE' inconsistency using index scan with 'NOT EXIST' after upgrading to PostgreSQL 16
Previous Message David G. Johnston 2024-06-28 16:11:17 Re: LibPQ doesn't say host=* translates to localhost