1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-23 03:21:12 +03:00

Make RADIUS authentication use pg_getaddrinfo_all() to get address of

the server.

Gets rid of a fairly ugly hack for Solaris, and also provides hostname
and IPV6 support.
This commit is contained in:
Magnus Hagander
2010-02-02 19:09:37 +00:00
parent d8db6a6096
commit 0a27347141
4 changed files with 69 additions and 28 deletions

View File

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.18 2010/01/28 11:36:14 mha Exp $ */
/* $PostgreSQL: pgsql/src/include/port/solaris.h,v 1.19 2010/02/02 19:09:37 mha Exp $ */
/*
* Sort this out for all operating systems some time. The __xxx
@ -36,11 +36,3 @@
* still use our own fix for the buggy version.
*/
#define HAVE_BUGGY_SOLARIS_STRTOD
/*
* Many versions of Solaris are missing the definition of INADDR_NONE
*/
#ifndef INADDR_NONE
#define INADDR_NONE ((in_addr_t)(-1))
#endif