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 <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Reported-by: Sergey Tatarintsev <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]

Branch
------
master

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

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

Reply via email to