Re: What do I do with this error?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What do I do with this error?
Дата
Msg-id 3013.984971455@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: What do I do with this error?  ("Josh Berkus" <josh@agliodbs.com>)
Ответы Re: What do I do with this error?  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-sql
"Josh Berkus" <josh@agliodbs.com> writes:
>     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?

Yes, I'd say so.  7.1 returns a NULL as expected ...
        regards, tom lane


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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: What do I do with this error?
Следующее
От: "Grant Furick"
Дата:
Сообщение: hierarchical order equivalent