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 20020222120127.G29951@scam.xcf.berkeley.edu
Whole thread Raw
In response to Re: IPv6 Support for INET/CIDR types.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: IPv6 Support for INET/CIDR types.  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
On Fri, Feb 22, 2002 at 02:59:34PM -0500, Bruce Momjian wrote:
> Paul Vixie wrote:
> > > I don't believe the original patch ever made it into anything.
> >
> > vadim's original patch was the basis for BIND's ipv6 support in the
> > set of functions that pgsql borrows from BIND.  so, it did make it
> > into _something_ just not the modified pgsql mirrors of these functions.
> >
> > my proposal is that we do away with the modified pgsql mirrors of these
> > functions and teach the INET and CIDR handlers to "wrap" the BIND functions
> > in a way that modifies the presentation format to be postgres-compatible.
> > that way postgres can import new versions of, or use LIBC versions of,
> > the BIND functions without having to worry about local modifications to them.
>
> Are we sure the Bind library versions are going to be on all the OS's we
> support?

Eventually they will. I think that for now it's reasonable to

a) make sure that the files in postgres are _exact_ copies of those in BIND.

b) check to see whether the host provides the functionality, and if it does,
use whatever host gives us, instead of local version

c) At some point remove the local version alltogether.

Vadim.


Attachment

pgsql-patches by date:

Previous
From: Paul Vixie
Date:
Subject: Re: IPv6 Support for INET/CIDR types.
Next
From: "Eiji Tokuya"
Date:
Subject: Re: Added Encoding