Re: Force a merge join?

From: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>
To: (Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Martijn van Oosterhout <kleptog(at)svana(dot)org>)
Cc: pgsql-general(at)postgresql(dot)org (Doug Fields <dfields-pg-general(at)pexicom(dot)com>, )
Subject: Re: Force a merge join?
Date: 2002-05-16 05:01:43
Message-ID: 5.1.0.14.1.20020516125115.02d540d0@192.228.128.13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 12:24 AM 5/16/02 -0400, Tom Lane wrote:
>Improving this is on the TODO list ...but in the meantime I wonder why
>you couldn't force an email-address column to lower case when you store
>it, so as to simplify the join problem. The RFCs nominally allow the
>local-part of an email address to be case sensitive, but in practice
>there is no one who really expects a case-sensitive email address to
>work.

Could use an extra column - so you can keep one column for display and one
for matching/searches.

So it would be easier to treat the following addresses as identical without
having to do it all in an SQL function:
Doug Fields <dfields-pg-general(at)pexicom(dot)com>
Doug Fields <dfields-pg-general(at)pexicom(dot)com(dot)>
(D Fields ) dfields-pg-general(at)PEXICOM(dot)COM

Cheerio,
Link.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2002-05-16 05:25:12 Re: Should be easy enough to get this result (or is it
Previous Message Tom Lane 2002-05-16 04:45:00 Re: Should be easy enough to get this result (or is it possible?)...