Re: Case Insensitive Data Type - Mailing list pgsql-general

From Doug Fields
Subject Re: Case Insensitive Data Type
Date
Msg-id 5.1.0.14.2.20020524151332.02c4ab70@mail.pexicom.com
Whole thread Raw
In response to Re: Case Insensitive Data Type  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Case Insensitive Data Type
List pgsql-general
>Assuming you did have all that, I think a query like
>
>         select * from foo where email = 'Joe Blow <joe@blow.com>'
>
>would indeed work the way you want --- the initially untyped string
>literal would eventually get coerced to your datatype, and then your
>input conversion routine could do the right things to it.  But it'll
>likely be easier to make it happen on the client side ;-)

Since he is using EJB, he is probably stripping out everything already
except the core SMTP e-mail address (probably using
javax.mail.internet.InternetAddress's parser).

Not that this is in the least bit relevant to PG so I'll just shut up now. :)

Cheers,

Doug


pgsql-general by date:

Previous
From: Doug Fields
Date:
Subject: Re: Efficiency question: VARCHAR with empty string
Next
From: "Johnson, Shaunn"
Date:
Subject: problem with my function