Feature request for INITCAP() function - Mailing list pgsql-general

From Jeff Gerbracht
Subject Feature request for INITCAP() function
Date
Msg-id CAEwbS1R8pwhRkwRo3XsPt24ErBNtFWuReAZhVPJwA3oqo148tA@mail.gmail.com
Whole thread Raw
Responses Re: Feature request for INITCAP() function  (Laurenz Albe <laurenz.albe@cybertec.at>)
Re: Feature request for INITCAP() function  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-general
It would be great if there was a way to set exceptions to the 'word' delimiter list used in the INITCAP() function.    For example, I have hyphenated words like blue-green or possessives and contractions like don't and cat's tail
These become Blue-Green, Don'T and Cat'S Tail.

Being able to pass in a set of delimiter exceptions like hyphen and single quote would make this function much more useful for our specific use cases.
   
   Thanks for considering,
      Jeff
--
Jeff Gerbracht
Cornell Lab of Ornithology

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: libpq crashing on macOS during connection startup
Next
From: Meera Nair
Date:
Subject: Query related to pg_dump write to a pipe on a windows client and with compressed format