pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Inoue, Hiroshi <inoue@tpf.co.jp>
To: Pavel Raiskup <praiskup@redhat.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: use inet_pton() instead of inet_addr() for ipv4/6
Date: Tue, 10 Dec 2013 09:31:30 +0900
Message-ID: <52A660E2.8060709@tpf.co.jp> (raw)
In-Reply-To: <3932297.uqAmftHYU6@nb.usersys.redhat.com>
References: <3932297.uqAmftHYU6@nb.usersys.redhat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hi Pavel,

(2013/12/06 19:58), Pavel Raiskup wrote:
> Hi, our regular package checking discovered that in postgresql-odbc is
> using inet_addr() call (which is not ipv6 compliant).  I tried to look at
> it and it was used just for parsing of ipv4 addresses.  It is not a big
> deal (the worst thing what can happen is that ipv6 addresses will cost a
> little bit more time to be resolved).
>
> Better solution would be imo to use inet_pton() call for both ipv4 and
> ipv6 address families.  Patch is attached, any comment is welcome!

Thanks for the patch.
I will take care of it.

regards,
Hiroshi Inoue




-- 
I am using the free version of SPAMfighter.
SPAMfighter has removed 1069 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

Do you have a slow PC? Try a Free scan 
http://www.spamfighter.com/SLOW-PCfighter?cid=sigen



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (2+ messages)

Message-ID: <52A660E2.8060709@tpf.co.jp>
Permalink:  ../52A660E2.8060709@tpf.co.jp/
Also on:    postgresql.org/message-id/52A660E2.8060709@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, praiskup@redhat.com
  Subject: Re: use inet_pton() instead of inet_addr() for ipv4/6
  In-Reply-To: <52A660E2.8060709@tpf.co.jp>
  References: <3932297.uqAmftHYU6@nb.usersys.redhat.com> <52A660E2.8060709@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox