Re: Case Insensitive Data Type

Поиск
Список
Период
Сортировка
От Doug Fields
Тема Re: Case Insensitive Data Type
Дата
Msg-id 5.1.0.14.2.20020524151332.02c4ab70@mail.pexicom.com
обсуждение исходный текст
Ответ на Re: Case Insensitive Data Type  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Case Insensitive Data Type  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Doug Fields
Дата:
Сообщение: Re: Efficiency question: VARCHAR with empty string
Следующее
От: "Johnson, Shaunn"
Дата:
Сообщение: problem with my function