Re: IPv6 Support for INET/CIDR types.

From: Vadim Kogan <vadim(at)xcf(dot)berkeley(dot)edu>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Paul Vixie <paul(at)vix(dot)com>, "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: IPv6 Support for INET/CIDR types.
Date: 2002-02-22 20:01:27
Message-ID: 20020222120127.G29951@scam.xcf.berkeley.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-02-22 20:02:01 Re: ECPG patches: get descriptor NULL alloc, external names
Previous Message Paul Vixie 2002-02-22 20:01:11 Re: IPv6 Support for INET/CIDR types.