Re: LibPQ doesn't say host=* translates to localhost - Mailing list pgsql-bugs

From Tom Lane
Subject Re: LibPQ doesn't say host=* translates to localhost
Date
Msg-id 1987630.1719593801@sss.pgh.pa.us
Whole thread Raw
In response to Re: LibPQ doesn't say host=* translates to localhost  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: LibPQ doesn't say host=* translates to localhost
List pgsql-bugs
"David G. Johnston" <david.g.johnston@gmail.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



pgsql-bugs by date:

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