Re: [BUGS] Bug #432: Macaddr accepts empty string

2001-09-03 Thread Bruce Momjian
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. >

Re: [BUGS] Bug #432: Macaddr accepts empty string

2001-09-03 Thread Tom Lane
[EMAIL PROTECTED] writes: > The datatype macaddr accepts empty strings as data. I think this is > not correct; an empty string is no valid mac address. This is already changed for 7.2. regression=# select ''::macaddr; ERROR: macaddr_in: error in parsing "" regression=#