Re: Doing a regexp-based search/replace?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Doing a regexp-based search/replace?
Дата
Msg-id 25088.1003431166@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Doing a regexp-based search/replace?  (Steve Frampton <frampton@LinuxNinja.com>)
Список pgsql-sql
Steve Frampton <frampton@LinuxNinja.com> writes:
> If this were a text file, I would use a sed expression such as:
> cat textfile | sed 's/-.*$//'
> I've been looking for a way to do this with PostgreSQL but so far haven't
> found a function that seems to be suitable.

Write a function in pltcl or plperl, either of which can mash text
strings with ease and abandon ...
        regards, tom lane


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

Предыдущее
От: Oleg Lebedev
Дата:
Сообщение: COUNT func
Следующее
От: Oleg Lebedev
Дата:
Сообщение: Re: [ADMIN] update in rule