Re: IPv6 Support for INET/CIDR types. - Mailing list pgsql-patches

From Vadim Kogan
Subject Re: IPv6 Support for INET/CIDR types.
Date
Msg-id 20010906141811.C5928@scam.xcf.berkeley.edu
Whole thread Raw
In response to IPv6 Support for INET/CIDR types.  (Vadim Kogan <vadim@xcf.berkeley.edu>)
Responses Re: IPv6 Support for INET/CIDR types.
List 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@candle.pha.pa.us>
> > Message-Id: <200109062045.f86KjPV21792@candle.pha.pa.us>
> > Subject: Re: [PATCHES] IPv6 Support for INET/CIDR types.
> > In-Reply-To: <20010805232707.S32686@scam.xcf.berkeley.edu> "from Vadim Kogan
> >  at Aug 5, 2001 11:27:07 pm"
> > To: Vadim Kogan <vadim@xcf.berkeley.edu>
> > Date: Thu, 6 Sep 2001 16:45:25 -0400 (EDT)
> > CC: pgsql-patches@postgresql.org, Paul A Vixie <vixie@mfnx.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@candle.pha.pa.us               |  (610) 853-3000
> >   +  If your life is a hard drive,     |  830 Blythe Avenue
> >   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


Vadim.


Attachment

pgsql-patches by date:

Previous
From: Joseph Shraibman
Date:
Subject: Re: [JDBC] Patch for jdbc2 ResultSet.java
Next
From: Rene Pijlman
Date:
Subject: Fix for 2 test cases of JDBC test suite