Re: mac.c - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: mac.c
Date
Msg-id 200007270113.VAA09532@candle.pha.pa.us
Whole thread Raw
In response to Re: mac.c  (Larry Rosenman <ler@lerctr.org>)
Responses Re: mac.c  (Larry Rosenman <ler@lerctr.org>)
List 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@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
 


pgsql-hackers by date:

Previous
From: "Henry B. Hotz"
Date:
Subject: Re: Installation Report for powerpc-apple-netbsdelf1.5
Next
From: "Timothy H. Keitt"
Date:
Subject: faster insert with foreign key constraint?