pgsql: Document that pg_getaddrinfo_all does not accept null hints

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Document that pg_getaddrinfo_all does not accept null hints
Date: 2025-11-13 15:51:43
Message-ID: E1vJZbr-006QgL-0o@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)yesql(dot)se>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Reported-by: Sergey Tatarintsev <s(dot)tatarintsev(at)postgrespro(dot)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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Sami Imseih 2025-11-13 22:02:24 Re: pgsql: Drop unnamed portal immediately after execution to completion
Previous Message Mircea Cadariu 2025-11-13 12:26:19 Re: pgsql: Drop unnamed portal immediately after execution to completion