agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Martin Stöcker <martin.stoecker@stb-datenservice.de>
To: pgsql-sql@lists.postgresql.org
Subject: Re: psql method (initcap and also keep Roman number capitalized)
Date: Mon, 30 Apr 2018 13:22:31 +0200
Message-ID: <de600de8-9f42-df27-b894-357fd88ae061@stb-datenservice.de> (raw)
In-Reply-To: <2bdf8140-48a0-24fc-acd4-14739b973357@encs.concordia.ca>
References: <2bdf8140-48a0-24fc-acd4-14739b973357@encs.concordia.ca>
Hi Emi,
I think you can do this only with knowledge about the meaning of these
strings.
It is no question of psql or any other database system but of language
an logic.
Take for example "Modern Music Mix".
This can be a mix-up of music but also the 1009th part of a collection.
Or for example the car Hyundai Tucson ix, where ix doesn't mean the
number 9.
Regards Martin
Am 27.04.2018 um 16:39 schrieb Emi:
> Hello,
>
> May I know is there a psql method that can do similar to initcap, and
> could also keep Roman numbers (II, IV, VI, etc) to be capitalized please?
>
> For example, string shows "Title II" but not "Title Ii".
>
> Thanks a lot.
view thread (2+ messages)
Message-ID: <de600de8-9f42-df27-b894-357fd88ae061@stb-datenservice.de>
Permalink: ../de600de8-9f42-df27-b894-357fd88ae061@stb-datenservice.de/
Also on: postgresql.org/message-id/de600de8-9f42-df27-b894-357fd88ae061@stb-datenservice.de
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: martin.stoecker@stb-datenservice.de, pgsql-sql@lists.postgresql.org
Subject: Re: psql method (initcap and also keep Roman number capitalized)
In-Reply-To: <de600de8-9f42-df27-b894-357fd88ae061@stb-datenservice.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox