regexp_replace grief

Поиск
Список
Период
Сортировка
От Armin Resch
Тема regexp_replace grief
Дата
Msg-id CAGo0LBT2ihUM=v8e-rd0CvZxc8BF3VfrYB75zW+vP4Jm9UkHaQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: regexp_replace grief  (Craig James <cjames@emolecules.com>)
Re: regexp_replace grief  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список pgsql-admin
Not sure this is the right list to vent about this but here you go:

I) select regexp_replace('BEFORE.AFTER','(.*)\..*','\1','g') "Substring"
II) select regexp_replace('BEFORE.AFTER','(.*)\\..*','\\1','g') "Substring"

Executing (II) against pg 8.4.4 or 9.0.4 yields 'BEFORE', but in order for 9.1.7 to yield the same one has to execute (I) .. bummer

-ar

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

Предыдущее
От: Nik Tek
Дата:
Сообщение: Re: Postgres log(pg_logs) have lots of message
Следующее
От: Craig James
Дата:
Сообщение: Re: regexp_replace grief