Re: Overcoming Initcap Function limitations?

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Overcoming Initcap Function limitations?
Дата
Msg-id CAKAnmmKbVmBpbHqBiYYYSp=bTPU4+1J0BnpjrjTMJrE=xvOg_A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Overcoming Initcap Function limitations?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
I agree with Tom. Store the original: let the frontend uppercase themselves if they want it that way. If they decide to force the transforms back down to you, you won't have spoiled your input. If they are querying on that column, a functional index on lower(col) would be nice. To answer your original question, yes, let the front end deal with the problem, leaving you time to worry about more traditional database-related problems. :)

Cheers,
Greg

В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Overcoming Initcap Function limitations?
Следующее
От: intmail01
Дата:
Сообщение: Wich program generates "list index out of range" ? pgadmin or the server ?