pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Document that pg_getaddrinfo_all does not accept null hints
Date: Thu, 13 Nov 2025 15:51:43 +0000
Message-ID: <E1vJZbr-006QgL-0o@gemulon.postgresql.org> (raw)

Document that pg_getaddrinfo_all does not accept null hints

While the underlying getaddrinfo call accepts a null pointer for
the hintp parameter, pg_getaddrinfo_all does not.  Document this
difference with a comment to make it clear.

Author: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reported-by: Sergey Tatarintsev <s.tatarintsev@postgrespro.ru>
Discussion: https://postgr.es/m/1e5efc94-407e-40b8-8b10-4d25f823c6d7@postgrespro.ru

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d22cc7326ce0fe5033f2c6e3f711047d263c1c86

Modified Files
--------------
src/common/ip.c | 3 +++
1 file changed, 3 insertions(+)



Message-ID: <E1vJZbr-006QgL-0o@gemulon.postgresql.org>
Permalink:  ../E1vJZbr-006QgL-0o@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vJZbr-006QgL-0o@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Document that pg_getaddrinfo_all does not accept null hints
  In-Reply-To: <E1vJZbr-006QgL-0o@gemulon.postgresql.org>

* 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