Re: mac.c

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Alex Pilosov <alex(at)pilosoft(dot)com>, Larry Rosenman <ler(at)lerctr(dot)org>, Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, pgsql-hackers(at)hub(dot)org
Subject: Re: mac.c
Date: 2000-07-27 15:40:41
Message-ID: Pine.BSF.4.21.0007271240060.2474-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 27 Jul 2000, Bruce Momjian wrote:

> > It'd be nice (tm). I am using mac address types now, and certainly going
> > to be upset if they just disappear in next postgres version :P)
>
> No, I don't recommend removing the macaddr type. It is fine in the main
> tree. It is just the function that maps ethernet address to
> manufacturer that I am questioning.

sounds to me like a contrib item too ...

> > However, this is definitely a contrib feature, not a core postgres item.
> >
> > Probably the macaddr type should be also moved to that contrib directory.
> >
> > I suggest that the contrib would include a query that creates mac_manuf
> > table and a 'macaddr_manuf(macaddr) returns varchar' function which would
> > do a 'select name from mac_manuf m where m.mac=mac_trunc(macaddr)' and a
> > 'mac_trunc(macaddr) returns macaddr' which would set the 3 lowest-order
> > nibbles to 0.
> >
> > (I don't think macmanufacturer deserves a separate type).
>
> --
> 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
>

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

  • Re: mac.c at 2000-07-27 13:00:25 from Bruce Momjian

Browse pgsql-hackers by date

  From Date Subject
Next Message Henry B. Hotz 2000-07-27 17:50:53 Re: Installation Report for powerpc-apple-netbsdelf1.5
Previous Message The Hermit Hacker 2000-07-27 15:27:00 Re: About these IPC parameters