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
|
Список | 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 по дате отправления: