Re: IPv6 Support for INET/CIDR types.

From: Vadim Kogan <vadim(at)xcf(dot)berkeley(dot)edu>
To: Paul A Vixie <vixie(at)vix(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: IPv6 Support for INET/CIDR types.
Date: 2001-09-06 21:18:11
Message-ID: 20010906141811.C5928@scam.xcf.berkeley.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

There are bugs there! I know for sure.

I agree that the preferred way would be to have ISC release first and then
incorporate that. Once ISC releases the inet_* stuff, I can generate diff
based on that (with postgres-specific stuff).

I will try my best to send the latest version that I'm using. There are
still bugs there I think. But if enough people try enough random IPs/etc.
eventually all broken special cases will be fixed.

On Thu, Sep 06, 2001 at 02:10:37PM -0700, Paul A Vixie wrote:
> we're working this into a BIND release and will have the official ISC
> version of these diffs to the inet_*() functions within a day or so.
>
> the inet_*() functions are meant to be transitive, and the existing IPv4
> entry points all are, so we're changing these contributed IPv6 entry points
> to also be transitive, then we'll ship them.
>
> as soon as we have something we're happy with i'll drop you a copy.
>
> > From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
> > Message-Id: <200109062045(dot)f86KjPV21792(at)candle(dot)pha(dot)pa(dot)us>
> > Subject: Re: [PATCHES] IPv6 Support for INET/CIDR types.
> > In-Reply-To: <20010805232707(dot)S32686(at)scam(dot)xcf(dot)berkeley(dot)edu> "from Vadim Kogan
> > at Aug 5, 2001 11:27:07 pm"
> > To: Vadim Kogan <vadim(at)xcf(dot)berkeley(dot)edu>
> > Date: Thu, 6 Sep 2001 16:45:25 -0400 (EDT)
> > CC: pgsql-patches(at)postgresql(dot)org, Paul A Vixie <vixie(at)mfnx(dot)net>
> > X-Mailer: ELM [version 2.4ME+ PL90 (25)]
> > MIME-Version: 1.0
> > Content-Transfer-Encoding: 7bit
> > Content-Type: text/plain; charset=US-ASCII
> >
> >
> > Can I have a version of this that can be applied? 7.2 beta will start
> > on Monday.
> >
> >
> > -- Start of PGP signed section.
> > > Attached is a patch that adds IPv6 support for inet and cidr datatypes. All
> > > the functionality that was available for IPv4 is available for IPv6. In
> > > addition comparison between IPv4 and IPv4-in-IPv6 addresses is available.
> > >
> > > **** WARNING: THIS PATCH HAS NOT BEEN TESTED ENOUGH! ****
> > > (There is still some minor debug stuff left and such)
> > > The patch is not likely to kill any of your data, but it could crash your
> > > backend.
> > >
> > > Due to me being relatively busy lately, I was hoping that other people might
> > > want to help me test the patch. If you have a problem, just email me what
> > > you were doing and I will try to reproduce and fix it. Hopefully we can get
> > > this small patch to the point of being stable soon enough and have it
> > > included in the main tree.
> > >
> > > Paul: I suppose you can take a look at inet_{net,cidr}_{pton,ntop} stuff,
> > > test it and eventually include with your code. Sorry for the delay, I had
> > > this part more or less ready a while back, but never had time to finish the
> > > postgres-specific part...
> > >
> > > Vadim.
> > >
> > -- End of PGP section.
> >
> > --
> > Bruce Momjian | http://candle.pha.pa.us
> > pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> > + If your life is a hard drive, | 830 Blythe Avenue
> > + Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Vadim.

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Rene Pijlman 2001-09-06 21:45:14 Fix for 2 test cases of JDBC test suite
Previous Message Paul A Vixie 2001-09-06 21:10:37 Re: IPv6 Support for INET/CIDR types.