Re: Overcoming Initcap Function limitations? - Mailing list pgsql-sql

From Greg Sabino Mullane
Subject Re: Overcoming Initcap Function limitations?
Date
Msg-id CAKAnmmKbVmBpbHqBiYYYSp=bTPU4+1J0BnpjrjTMJrE=xvOg_A@mail.gmail.com
Whole thread Raw
In response to Re: Overcoming Initcap Function limitations?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Overcoming Initcap Function limitations?
Next
From: intmail01
Date:
Subject: Wich program generates "list index out of range" ? pgadmin or the server ?