Re: unsupported types in 8.0.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: unsupported types in 8.0.1
Дата
Msg-id 14370.1111864486@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: unsupported types in 8.0.1  (Michael Fuhr <mike@fuhr.org>)
Ответы Re: unsupported types in 8.0.1  (Ben <bench@silentmedia.com>)
Список pgsql-general
Michael Fuhr <mike@fuhr.org> writes:
> SELECT x FROM foo WHERE x < now()::abstime::integer;
> ERROR:  unsupported type: 23

It looks like examine_variable shouldn't be throwing away the
RelabelType on the now() call ... this code is all new in 8.0
IIRC, which is why you don't see the failure in prior versions
(you also do not get a good estimate ...)

            regards, tom lane

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: unsupported types in 8.0.1
Следующее
От: Ben
Дата:
Сообщение: Re: unsupported types in 8.0.1