[PATCH] ipv6 support for getaddrinfo.c

From: "R, Rajesh (STSD)" <rajesh(dot)r2(at)hp(dot)com>
To: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: [PATCH] ipv6 support for getaddrinfo.c
Date: 2006-02-21 06:31:17
Message-ID: 5CBFB210D9870F40B9E5A0FBD31F3A77035EBB5F@bgeexc01.asiapacific.cpqcorp.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Patch for getaddrinfo.c to recognize ipv6 addresses.
Used inet_pton to achieve that.

On machines that don't have getaddrinfo function, Client authenciation
fails
for ipv6 addresses if pgsql uses getaddrinfo implemented in this.

This is a fix for that.

Rajesh R
--
This space intentionally left non-blank.

Attachment Content-Type Size
ipv6-getaddrinfo.patch application/octet-stream 1.3 KB

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-02-21 06:44:07 Re: Mixing different LC_COLLATE and database encodings
Previous Message Michael Fuhr 2006-02-21 05:00:09 Re: How to determine number of established connections

Browse pgsql-hackers by date

  From Date Subject
Next Message Albe Laurenz 2006-02-21 09:02:58 Re: new feature: LDAP database name resolution
Previous Message Tom Lane 2006-02-21 06:10:23 Re: AC_REPLACE_FUNCS([getaddrinfo]) in 8.1.3