Document that pg_getaddrinfo_all does not accept null hints
Daniel Gustafsson <dgustafsson@postgresql.org>
Author:
Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2025-11-13T15:35:07Z
Releases:
19 (unreleased)
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
Files
| Path | Change | +/− |
|---|---|---|
| src/common/ip.c | modified | +3 −0 |
Discussion
- pg_getaddrinfo_all() with hintp=NULL 8 messages · 2025-11-10 → 2025-11-13