Re: macaddr data type issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex Pilosov <alex(at)pilosoft(dot)com>
Cc: Gayland Gump <gumpg(at)pacifier(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: macaddr data type issue
Date: 2001-08-21 21:26:58
Message-ID: 11839.998429218@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alex Pilosov <alex(at)pilosoft(dot)com> writes:
> On Tue, 21 Aug 2001, Tom Lane wrote:
>> 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.

Okay, patch applied. Gayland, if you're in a hurry for a solution
you could drop the CVS version of mac.c into 7.1.* --- see
http://www.ca.postgresql.org/cgi/cvsweb.cgi/pgsql/src/backend/utils/adt/mac.c

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mitch Vincent 2001-08-21 21:34:32 Re: Data types
Previous Message Mark Coffman 2001-08-21 20:28:00 Postgres hangs during VACUUM (autocommit = false)