From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: mac typo prob? |
Date: | 2002-10-13 14:55:44 |
Message-ID: | 28777.1034520944@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk> writes:
> I just cut and pasted someone's mac address:
> patrimoine=# update ethernet set mac='00-00-39-AB-92-FO' where id=623;
> UPDATE 1
> patrimoine=# select mac from ethernet where id=623;
> mac
> -------------------
> 00:00:39:ab:92:0f
> (1 row)
> Note the typo "O" instead of "0". I can see how that happened - should it
> be "notify"ed against?
No, it should be an error IMHO. macaddr_in() is failing to check for
trailing junk, which is a standard problem for sscanf-based parsing...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-10-13 17:10:18 | Re: experiences with autocommit functionality in 7.3 |
Previous Message | Tom Lane | 2002-10-13 14:51:44 | Re: experiences with autocommit functionality in 7.3 |