Re: Email data type - Mailing list pgsql-hackers

From Steve Atkins
Subject Re: Email data type
Date
Msg-id 20040517162220.GA3552@gp.word-to-the-wise.com
Whole thread Raw
In response to Re: Email data type  ("Dave Page" <dpage@vale-housing.co.uk>)
Responses Re: Email data type
List pgsql-hackers
On Mon, May 17, 2004 at 05:01:05PM +0100, Dave Page wrote:

> > a@foo.bar is syntactically valid. a@foo.invalid is 
> > syntactically valid, but should be immediately rejected. 
> 
> I disagree - just because the database server cannot verify the the
> existence of a domain does not mean that it isn't valid. I think only
> addresses that are syntactically incorrect should be rejected.

I think you're missing the point. Go and take a glance at RFC 2606 -
it's a BCP which defines the .test, .invalid, .example and .localhost
TLDs.

Of course, some users may want to use .invalid email addresses in
their database, despite their being, by definition, invalid. It's
something that will vary depending on their needs.

Cheers, Steve



pgsql-hackers by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: Email data type
Next
From: "Dave Page"
Date:
Subject: Re: Email data type