Re: Bug #559: MACADDR type & 00:00:00:00:00:00

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: handler(at)grendel(dot)net, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #559: MACADDR type & 00:00:00:00:00:00
Date: 2002-01-11 16:51:19
Message-ID: 29407.1010767879@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> it's not null, so shouldn't it be retrieving as '00:00:00:00:00:00'?

Yeah, due to some brain-fade on the part of the original implementor,
the code went out of its way to special-case 00:00:00:00:00:00 as
being represented by an empty string. This was agreed to be broken
and we've changed it for 7.2. If you like you can drop the 7.2
version of the file mac.c into 7.1; see
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/mac.c

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-01-11 18:56:12 Re: ehm...
Previous Message Thomas Lockhart 2002-01-11 14:22:44 Re: Bug #559: MACADDR type & 00:00:00:00:00:00