pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Emi <emilu@encs.concordia.ca>
To: pgsql-sql@postgresql.org
Subject: psql method (initcap and also keep Roman number capitalized)
Date: Fri, 27 Apr 2018 10:39:54 -0400
Message-ID: <2bdf8140-48a0-24fc-acd4-14739b973357@encs.concordia.ca> (raw)

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)  latest in thread

Message-ID: <2bdf8140-48a0-24fc-acd4-14739b973357@encs.concordia.ca>
Permalink:  ../2bdf8140-48a0-24fc-acd4-14739b973357@encs.concordia.ca/
Also on:    postgresql.org/message-id/2bdf8140-48a0-24fc-acd4-14739b973357@encs.concordia.ca

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: emilu@encs.concordia.ca
  Subject: Re: psql method (initcap and also keep Roman number capitalized)
  In-Reply-To: <2bdf8140-48a0-24fc-acd4-14739b973357@encs.concordia.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox