Re: [HACKERS] Re: inet/cidr/bind

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: paul(at)vix(dot)com (Paul A Vixie)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: inet/cidr/bind
Date: 1998-10-20 16:53:35
Message-ID: 199810201653.MAA08173@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > > There is an argument for another, completely separate type, called MACADDR,
> > > which is an IEEE 48-bit address (suitable for ethernet or fddi arp tables).
> >
> > Nothing to do with our current discussion, right? You are just mentioning
> > it for completeness and we shall never speak of it again, or at least not
> > till after 6.4?
>
> I'd thought that the fellow who wrote ip_and_mac had already submitted the
> MACADDR type. If not, then clearly it is way too late to consider it for 6.4.
>

>From psql's \dT command:

macaddr |MAC address
inet |IP address

> > > ... -- has anybody got a specific application they want to build which
> > > requires a CIDR-like host address which is of fixed size, has the ability
> > > to preserve the "unset"-ness of the prefix length from input through
> > > storage to output, and also has the ability to preserve a particular prefix
> > > length from input through storage to output?
> >
> > Radius server for Ascend terminal servers.
>
> Is there no way to accomplish this without efficiency loss using a pair of
> IHOSTs, one for the host address and one for the netmask?
>
> I note that polymorphism of the supernet/subnet tests between (a) and (b) as
> denoted in the top of the text I've quoted in this message is a lot more work
> than the inherent polymorphism of supernet/subnet tests between an INET and
> an IHOST as I've proposed them here.

I can't comment on the rest of this, because I don't understand it.

--
Bruce Momjian | http://www.op.net/~candle
maillist(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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message D'Arcy J.M. Cain 1998-10-20 17:01:45 Re: [HACKERS] Re: inet/cidr/bind
Previous Message Bruce Momjian 1998-10-20 16:46:34 Re: [HACKERS] using indexes