problem with regexp_matches in nested funcion

Поиск
Список
Период
Сортировка
От Isaac Marco Blancas
Тема problem with regexp_matches in nested funcion
Дата
Msg-id CAA2CX-11muWiocVvH3MxYC-CJcmTgSKx0Zve+XhnuSZ6S82Aaw@mail.gmail.com
обсуждение исходный текст
Ответы problem with regexp_matches in nested funcion
Список pgsql-sql
I get this error:

ERROR: functions and operators can take at most one set argument
SQL state: 0A000

When I run this:

select message as before,
       replace(message,
               array_to_string(regexp_matches(message,'\\$\\$.*?\\{tabular\\}.*?\\$\\$'), '#'),
               replace(array_to_string(regexp_matches(message,'\\$\\$.*?\\{tabular\\}.*?\\$\\$'), '#'),'tabular','array')) as later
from mdl_forum_posts
where message ~ '\\$\\$.*?\\{tabular\\}.*?\\$\\$';

I know the problem is in the second array_to_string. Some idea?

Thanks.

--
Isaac Marco Blancas

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

Предыдущее
От: dave
Дата:
Сообщение: Re: Recursive merging of overlapping arrays in a column
Следующее
От: "David G. Johnston"
Дата:
Сообщение: problem with regexp_matches in nested funcion