Re: [HACKERS] macaddr stuff !u

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: pawel(at)astercity(dot)net
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] macaddr stuff !u
Date: 1999-03-22 04:45:14
Message-ID: 199903220445.XAA03698@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Hi,
>
> I have no one to turn to. I've tried here & there but got no answer.
> Why is there is a problem creating unique indices on macaddr columns even
> if there ARE NO (checked by count on distinct,group by) duplicated keys ?
>
> And finally :
>
> create table tmac (i int4,mac macaddr);
> insert int table tmac (i) values (1);
> insert int table tmac (i) values (2);
> insert int table tmac (i) values (3);
> select * from tmac where mac='01:02:03:04:05:06';
>

Yes, I can reproduce it here. Looks like a bug.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-03-22 05:04:57 Re: [HACKERS] macaddr stuff !
Previous Message The Hermit Hacker 1999-03-22 03:40:20 Re: [HACKERS] CVS target for docs