Thread: [PATCH] addition of text_inet, text_cidr and inet_set_masklen

[PATCH] addition of text_inet, text_cidr and inet_set_masklen

From
Alex Pilosov
Date:
Attached is a patch adding following functions:

inet(text), cidr(text): convert a text value into inet/cidr
set_masklen(inet): set masklen on the inet value

Patch also contains regression checks for these functions.

-alex

Re: [PATCH] addition of text_inet, text_cidr and inet_set_masklen

From
Bruce Momjian
Date:
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

> Attached is a patch adding following functions:
> 
> inet(text), cidr(text): convert a text value into inet/cidr
> set_masklen(inet): set masklen on the inet value
> 
> Patch also contains regression checks for these functions.
> 
> -alex

Content-Description: pg-network.patch

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html

--  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,
Pennsylvania19026
 


Re: [PATCH] addition of text_inet, text_cidr and inet_set_masklen

From
Bruce Momjian
Date:
Thanks.  Patch applied.  This knocks out another TODO item.


> Attached is a patch adding following functions:
> 
> inet(text), cidr(text): convert a text value into inet/cidr
> set_masklen(inet): set masklen on the inet value
> 
> Patch also contains regression checks for these functions.
> 
> -alex

Content-Description: pg-network.patch

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html

--  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,
Pennsylvania19026
 


Re: [PATCH] addition of text_inet, text_cidr and inet_set_masklen

From
Tom Lane
Date:
>> Attached is a patch adding following functions:
>> 
>> inet(text), cidr(text): convert a text value into inet/cidr
>> set_masklen(inet): set masklen on the inet value
>> 
>> Patch also contains regression checks for these functions.

How about some documentation updates to go with that?
        regards, tom lane


Re: [PATCH] addition of text_inet, text_cidr and inet_set_masklen

From
Alex Pilosov
Date:
My bad.

Attached.

-alex

On Wed, 13 Jun 2001, Tom Lane wrote:

> >> Attached is a patch adding following functions:
> >> 
> >> inet(text), cidr(text): convert a text value into inet/cidr
> >> set_masklen(inet): set masklen on the inet value
> >> 
> >> Patch also contains regression checks for these functions.
> 
> How about some documentation updates to go with that?
> 
>             regards, tom lane
> 
>

Re: [PATCH] addition of text_inet, text_cidr and inet_set_masklen

From
Bruce Momjian
Date:
Patch applied.

> My bad.
> 
> Attached.
> 
> -alex
> 
> On Wed, 13 Jun 2001, Tom Lane wrote:
> 
> > >> Attached is a patch adding following functions:
> > >> 
> > >> inet(text), cidr(text): convert a text value into inet/cidr
> > >> set_masklen(inet): set masklen on the inet value
> > >> 
> > >> Patch also contains regression checks for these functions.
> > 
> > How about some documentation updates to go with that?
> > 
> >             regards, tom lane
> > 
> > 

Content-Description: 

[ Attachment, skipping... ]

--  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,
Pennsylvania19026