Re: BUG #5469: regexp_matches() has poor behaviour and more poor documentation

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: BUG #5469: regexp_matches() has poor behaviour and more poor documentation
Дата
Msg-id AANLkTimN3m-TUfJjTwSQE-00G7vvHPdvYlLAcApuAZWW@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #5469: regexp_matches() has poor behaviour and more poor documentation  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: BUG #5469: regexp_matches() has poor behaviour and more poor documentation  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Re: BUG #5469: regexp_matches() has poor behaviour and more poor documentation  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
On Sat, May 29, 2010 at 5:00 PM, Bruce Momjian <bruce@momjian.us> wrote:
> I have updated the patch, attached, to clarify that this returns text
> arrays, and that you can force it to always return one row using
> COALESCE() and a '|' pattern (the later suggested by Daniele Varrazzo).

I don't find this part to be something we should include in the
documentation.  If we want to include a workaround, how about defining
a non-SRF that just calls the SRF and returns the first row?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

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

Предыдущее
От: "Sakari A. Maaranen"
Дата:
Сообщение: Re: BUG #5480: Autovacuum interferes with operations (e.g. truncate) on very large databases
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Re: BUG #5480: Autovacuum interferes with operations (e.g. truncate) on very large databases