Re: String manipulation in plpgsql - Mailing list pgsql-novice

From Joe Conway
Subject Re: String manipulation in plpgsql
Date
Msg-id 3E6A89A6.5090703@joeconway.com
Whole thread Raw
In response to String manipulation in plpgsql  ("Rod Kreisler" <rod@23net.net>)
Responses Re: String manipulation in plpgsql
List pgsql-novice
Rod Kreisler wrote:
> Is there a way to do string manipulation in plpgsql, or should I just use
> plperl?  It's just been SO long since I've used perl, trying to avoid it....
>

You can use any of the existing string functions, string concatenation,
etc. See:

http://developer.postgresql.org/docs/postgres/functions-string.html
and
http://developer.postgresql.org/docs/postgres/plpgsql-statements.html

as a start. Anything complex is probably a lot easier in plperl (or
pltcl or plpython) though.

HTH,

Joe



pgsql-novice by date:

Previous
From: Joe Conway
Date:
Subject: Re: Stored procedure - change columns in a table that is
Next
From: "Rod Kreisler"
Date:
Subject: Re: String manipulation in plpgsql