Re: Query Planner Issue - View and regexp_replace?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query Planner Issue - View and regexp_replace?
Дата
Msg-id 2526.1203292204@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Query Planner Issue - View and regexp_replace?  (Brandon Kane <brandonk98@yahoo.com>)
Ответы Re: Query Planner Issue - View and regexp_replace?  (Brandon Kane <brandonk98@yahoo.com>)
Список pgsql-novice
Brandon Kane <brandonk98@yahoo.com> writes:
> -- Removing this condition from CASE statement in view corrects query planner problem.
>             WHEN NOT isnumeric(test_table.data::text) THEN
>                   regexp_replace(
>                         test_table.data::text,
>                         '[^0-9]'::text,
>                         ''::text,
>                         'g'::text)::bpchar::character varying
> --

What's isnumeric(), and is it by any chance marked volatile?
If so, that's your problem.

            regards, tom lane

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

Предыдущее
От: Brandon Kane
Дата:
Сообщение: Query Planner Issue - View and regexp_replace?
Следующее
От: Mark S
Дата:
Сообщение: pg_dump, pg_restore and template relationships