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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user