Re: Simple method to format a string? - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Simple method to format a string?
Date
Msg-id CAOR=d=0Raw+n125GTaV3xuj=bXy6ioHO_evG+VKsK_is+tPqoQ@mail.gmail.com
Whole thread Raw
In response to Simple method to format a string?  (Emi Lu <emilu@encs.concordia.ca>)
Responses Re: Simple method to format a string?
List pgsql-general
This pretty much calls for a user defined function.  Plpgsql should
work, but if you're more comfy in perl or tcl there's pl/tcl and
pl/perl you can try as well.

On Wed, Jun 20, 2012 at 8:43 AM, Emi Lu <emilu@encs.concordia.ca> wrote:
> 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
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general



--
To understand recursion, one must first understand recursion.

pgsql-general by date:

Previous
From: yxj
Date:
Subject: Re: How to create c language in postgresql database. Thanks.
Next
From: Andy Colson
Date:
Subject: Re: Simple method to format a string?