Simple method to format a string?

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: "pgsql-general(at)postgresql(dot)org >> \"pgsql-general(at)postgresql(dot)org\"" <pgsql-general(at)postgresql(dot)org>
Subject: Simple method to format a string?
Date: 2012-06-20 14:43:08
Message-ID: 4FE1E17C.2020104@encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Good morning,

Is there a simply method in psql to format a string?

For example, adding a space to every three consecutive letters:

abcdefgh -> *** *** ***

Thanks a lot!
Emi

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edson Richter 2012-06-20 14:49:55 Re: Feature discussion: Should syntax errors abort a transaction?
Previous Message Craig Ringer 2012-06-20 14:39:41 Re: Issue in save and retreive file in postgres