Not any more:

        test=> create table pp (x macaddr);
        CREATE
        test=> insert into pp values ('');
        ERROR:  macaddr_in: error in parsing ""
        

> Daniel Mantione ([EMAIL PROTECTED]) reports a bug with a severity of 3
> The lower the number the more severe it is.
> 
> Short Description
> Macaddr accepts empty string
> 
> Long Description
> Hello,
> 
> The datatype macaddr accepts empty strings as data. I think this is not correct; an 
>empty string is no valid mac address.
> 
> It should accept NULL (which it does).
> 
> Greetings,
> 
> Daniel Mantione
> 
> Sample Code
> 
> 
> No file was uploaded with this report
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://www.postgresql.org/search.mpl
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to