Re: macaddr data type issue

Поиск
Список
Период
Сортировка
От Alex Pilosov
Тема Re: macaddr data type issue
Дата
Msg-id Pine.BSO.4.10.10108211537580.25781-100000@spider.pilosoft.com
обсуждение исходный текст
Ответ на Re: macaddr data type issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: macaddr data type issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Tue, 21 Aug 2001, Tom Lane wrote:

> SQL-approved way to represent "missing data" is as a NULL; there's no
> rationale I can see for treating an all-zeroes address like this.
>
> There's also a special case in macaddr_in that accepts an empty input
> string as meaning an all-zeroes address.  This seems bogus as well.
>
> I'm inclined to rip out both special cases, so that an all-zeroes MAC
> address is handled exactly like any other address.  Comments?
Completely agreed. I stepped on this rake once. All zeros is a valid mac
address and is very different from null.

Thanks

--
Alex Pilosov            | http://www.acedsl.com/home.html
CTO - Acecape, Inc.     | AceDSL:The best ADSL in the world
325 W 38 St. Suite 1005 | (Stealth Marketing Works! :)
New York, NY 10018      |


В списке pgsql-general по дате отправления:

Предыдущее
От: Carlos Felipe Zirbes
Дата:
Сообщение: RE: New RPMS ?
Следующее
От: "Ryan C. Bonham"
Дата:
Сообщение: RE: UPDATE: ERROR: relation_info: Relation 41069 not fo und