Skip site navigation (1) Skip section navigation (2)

Re: IPv6 Support for INET/CIDR types.

From: Larry Rosenman <ler(at)lerctr(dot)org>
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>,Vadim Kogan <vadim(at)xcf(dot)berkeley(dot)edu>, pgsql-patches(at)postgresql(dot)org
Subject: Re: IPv6 Support for INET/CIDR types.
Date: 2002-02-22 20:17:01
Message-ID: 20020222201701.GA15416@lerami.lerctr.org (view raw or flat)
Thread:
Lists: pgsql-patches
* Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> [020222 13:56]:
> 
> OK, I have forwarded my saved emails to Paul.  Paul, there was great
> confusion over how these data types show display addresses and masks,
> and a compromise was hammered out that we are reluctant to throw out.
> 
> I wish our email archives where searchable online and I could point you
> to the issues.  Can someone summarize the issues, specifically how did
> we change what Paul originally gave us so it can be done again?   All I
> have for detail is this from Tom Lane:
> 
> 	The patch as given reverts the I/O behavior of the inet datatypes
> 	to what it originally was, rather than the compromise behavior that
> 	was hammered out at great length before 7.1.  (I'd give a link to
> 	those discussions if fts.postgresql.org were working :-()
> 
> Seems the archives were down back then in October too.  :-(
Please do *NOT* revert the output functions.  One of the MAJOR reasons
for the change was to ALWAYS print ALL 4 octets of an IPv4 address in
the default case.

You (Paul) were part of that discussion.  I was one of the instigators
of it. 

LER

> 
> 
> ---------------------------------------------------------------------------
> 
> Paul Vixie wrote:
> > here's the problem.  i want to replace the inet_{net_}{ntop,pton}
> > functions in postgres with the real ones from bind.  however, your
> > versions have been patched.  so before i can replace them i need
> > to understand exactly what you've patched and move that logic to
> > the part of postgres that calls these functions.  then i can import
> > the real versions, which include vadim's ipv6 logic.  then i can
> > work on changing postgres to use the new ipv6 logic in these functions.
> > 
> > any help with that first step would be appreciated.
> > 
> > > From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
> > > Message-Id: <200202221810(dot)g1MIA6C29715(at)candle(dot)pha(dot)pa(dot)us>
> > > Subject: Re: [PATCHES] IPv6 Support for INET/CIDR types.
> > > In-Reply-To: <200110161420(dot)f9GEKZH87408(at)as(dot)vix(dot)com>
> > > To: Paul A Vixie <paul(at)vix(dot)com>
> > > Date: Fri, 22 Feb 2002 13:10:06 -0500 (EST)
> > > Cc: "Marc G. Fournier" <scrappy(at)hub(dot)org>,
> > > 	Vadim Kogan <vadim(at)xcf(dot)berkeley(dot)edu>, pgsql-patches(at)postgresql(dot)org
> > > X-Mailer: ELM [version 2.4ME+ PL96 (25)]
> > > MIME-Version: 1.0
> > > Content-Transfer-Encoding: 7bit
> > > Content-Type: text/plain; charset=US-ASCII
> > > 
> > > Paul A Vixie wrote:
> > > > > > Seems this will have to wait for 7.3.
> > > > > 
> > > > > Why?
> > > > 
> > > > because i didn't get it fixed in time.
> > > > 
> > > > > and, to be a bit more riendly to those of us stuck on 56k lines, could you
> > > > > avoid re-sending, repeatedly, large patch files?
> > > > 
> > > > sorry.
> > > 
> > > Paul, do you have an updated patch that can be applied to 7.3?
> > > 
> > > -- 
> > >   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
> > 
> > 
> 
> -- 
>   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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Responses

pgsql-patches by date

Next:From: Fernando NasserDate: 2002-02-22 21:44:27
Subject: Re: Fix command completion for CREATE TABEL ... AS
Previous:From: Bruce MomjianDate: 2002-02-22 20:14:29
Subject: Re: Patch to add Heimdal kerberos support

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group