Re: mac.c

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: mac.c
Дата
Msg-id 200007270113.VAA09532@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: mac.c  (Larry Rosenman <ler@lerctr.org>)
Ответы Re: mac.c  (Larry Rosenman <ler@lerctr.org>)
Список 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 по дате отправления:

Предыдущее
От: "Henry B. Hotz"
Дата:
Сообщение: Re: Installation Report for powerpc-apple-netbsdelf1.5
Следующее
От: "Timothy H. Keitt"
Дата:
Сообщение: faster insert with foreign key constraint?