Re: String manipulation in plpgsql

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: String manipulation in plpgsql
Дата
Msg-id 3E6A89A6.5090703@joeconway.com
обсуждение исходный текст
Ответ на String manipulation in plpgsql  ("Rod Kreisler" <rod@23net.net>)
Ответы Re: String manipulation in plpgsql  ("Rod Kreisler" <rod@23net.net>)
Список 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 по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Stored procedure - change columns in a table that is
Следующее
От: "Rod Kreisler"
Дата:
Сообщение: Re: String manipulation in plpgsql