Re: email data type first release - Mailing list pgsql-hackers

From Greg Stark
Subject Re: email data type first release
Date
Msg-id 87smdyvkri.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: email data type first release  (Tommi Maekitalo <t.maekitalo@epgmbh.de>)
List pgsql-hackers
Tommi Maekitalo <t.maekitalo@epgmbh.de> writes:

> Sorting should then be done by top-level-domain first. Then 2nd, 3rd... and 
> last by user.

I thought of that but decided not to suggest it:

a) as far as email goes there's no relationship between xxx@foo.com and  xxx@bar.com. The ".com" doesn't mean the
emailsare any more related than  xxx@foo.com and xxx@foo.org are. In fact in practice the latter two are  more likely
tobe related.
 

b) it's a lot of extra work, whereas sorting by domain first is just as easy  as sorting by lhs first.


-- 
greg



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Call for 7.5 feature completion
Next
From: Greg Stark
Date:
Subject: Re: Call for 7.5 feature completion