Re: What do I do with this error?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What do I do with this error?
Дата
Msg-id 20341.985023999@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
BTW, are you certain that your failure case actually does involve a
NULL, and not an empty string?

regression=# select 'foo' ~* null;?column?
----------

(1 row)

regression=# select 'foo' ~* '';
ERROR:  regcomp failed with error empty (sub)expression

This is correct according to the POSIX definition of regular expressions
("A (modern) RE is one or more non-empty branches ...").
        regards, tom lane


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

Предыдущее
От: "Sarathi, Vijai (CAP)"
Дата:
Сообщение: request for tutorial on plsql
Следующее
От: Tim Pizey
Дата:
Сообщение: Invalid (null) int8, can't convert to float8