Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group