Checking regex pattern validity

Поиск
Список
Период
Сортировка
От David Garamond
Тема Checking regex pattern validity
Дата
Msg-id 4147E7FC.9060208@zara.6.isreserved.com
обсуждение исходный текст
Ответы Re: Checking regex pattern validity
Список pgsql-general
Is there a function like IS_VALID_REGEX() to check whether a pattern is
valid (i.e. it compiles)? I'm storing a list of regex patterns in a
table. It would be nice to be able to add a CHECK constraint to ensure
that all the regexes are valid.

If there isn't any, can I suggest Postgres add one? Although I know this
can probably be done in plpgsql using exception handling, or done in
plperl or plruby.

--
dave


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: disk performance benchmarks
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: 8.0 postgres book??