Re: mac.c

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, pgsql-hackers(at)hub(dot)org
Subject: Re: mac.c
Date: 2000-07-27 01:13:41
Message-ID: 200007270113.VAA09532@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > Anyway, tables are good, and we can make a function/operator pair which
> > compares mac addresses on manufacturer only. Should be pretty easy.
> > Shall we get started?
>
> OK, but what do we put into the table as the key? just a
> 3 octet version of the OUI, or a full 6 octet, and use the function?
>
> Thanks for the help.

I hate to pour cold water on this, but it seems the whole idea of
having a database function to find the manufacturer from an ethernet
address is of questionable value.

Not that it can't be done in /contrib, but it is really important enough
to do? I recommend just removing the function. I doubt anyone would
miss it.

I have added a TODO item:

* Update macaddr manufacturer numbers, or remove the function macaddr_manuf()

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

In response to

  • Re: mac.c at 2000-07-23 20:49:25 from Larry Rosenman

Responses

  • Re: mac.c at 2000-07-27 02:31:08 from Larry Rosenman

Browse pgsql-hackers by date

  From Date Subject
Next Message frank 2000-07-27 02:01:34 Re: [GENERAL] Is Pg 7.0.x's Locking Mechanism BROKEN?
Previous Message Jan Wieck 2000-07-26 22:52:54 Re: Some questions on user defined types and functions.