Re: Is there an easy way to normalize-space with given string functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is there an easy way to normalize-space with given string functions
Дата
Msg-id 14819.1082687656@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is there an easy way to normalize-space with given string functions  (Janning Vygen <vygen@gmx.de>)
Ответы Re: Is there an easy way to normalize-space with given string functions
Список pgsql-sql
Janning Vygen <vygen@gmx.de> writes:
> i searched the function list and tried to combine to or more
> functions, but i miss a replace function which uses regular
> expressions.

There isn't one in the SQL standard.  Most people who need one write a
one-liner function in plperl or pltcl.

(Mind you, I don't know why we don't offer a built-in one --- the needed
regex engine is in there anyway.  I guess no one has gotten around to
getting agreement on a syntax.)
        regards, tom lane


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: lifetime of temp schema versus compiled image of plpgsql proc
Следующее
От: "Stijn Vanroye"
Дата:
Сообщение: Re: Order by YYYY MM DD in reverse chrono order trouble