pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Francisco Olarte <folarte@peoplecall.com>
Cc: PostgreSQL Bug List <pgsql-bugs@lists.postgresql.org>
Subject: Re: LibPQ doesn't say host=* translates to localhost
Date: Fri, 28 Jun 2024 12:56:41 -0400
Message-ID: <1987630.1719593801@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwZrnhgQHRa_ArB-kBgrXV+w=ovfR_F4FEamgc-asu0j8g@mail.gmail.com>
References: <CAKFQuwbCeu4X7vwV7SZ8cGUycmKRxGE8YGmPGJof8tP8jgKWfw@mail.gmail.com>
	<CA+bJJbzN4HTGKGM2ipe8c22f_3QkT1=s3KRfk1preSf+q=Z3_A@mail.gmail.com>
	<CAKFQuwZrnhgQHRa_ArB-kBgrXV+w=ovfR_F4FEamgc-asu0j8g@mail.gmail.com>

"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





view thread (6+ messages)  latest in thread

Message-ID: <1987630.1719593801@sss.pgh.pa.us>
Permalink:  ../1987630.1719593801@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1987630.1719593801@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, folarte@peoplecall.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: LibPQ doesn't say host=* translates to localhost
  In-Reply-To: <1987630.1719593801@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox