Re: What do I do with this error?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: What do I do with this error?
Дата
Msg-id web-26463@davinci.ethosmedia.com
обсуждение исходный текст
Ответы Re: What do I do with this error?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Folks,
Never mind.  It turns out that if you call try to feed a NULL to a
regular expression (e.g. Client_name ~* NULL) you get:

ERROR:  regcomp failed with error empty (sub)expression

Good to know.  I had expected that regular expressions, like other
operators, would return NULL if NULL was the pattern.  Is this a bug?

-Josh Berkus


______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


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

Предыдущее
От: jreniz
Дата:
Сообщение: Trigger problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: What do I do with this error?