Re: expression_tree_walker: Unexpected node type 711

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: expression_tree_walker: Unexpected node type 711
Дата
Msg-id 444.1093796815@sss.pgh.pa.us
обсуждение исходный текст
Ответ на expression_tree_walker: Unexpected node type 711  (Ian Percival <ian@emergence.com>)
Список pgsql-sql
Ian Percival <ian@emergence.com> writes:
> SQL THAT IS THROWING ERROR:
> select
>   calendar_date
> from
>   official_hour
> where
>   official_hour is not null
>   and office_closed = False
>   and calendar_date >= date'2004/01/01'
>   and calendar_date <= date'2004/08/23'
> order by
>   calendar_date

> RESULTS:
> ProgrammingError: ERROR:  expression_tree_walker: Unexpected node type 711

> Anyone see something here I don't?

7.4 will give a more helpful error message:

ERROR:  relation reference "official_hour" cannot be used in an expression
        regards, tom lane


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

Предыдущее
От: Ian Percival
Дата:
Сообщение: expression_tree_walker: Unexpected node type 711
Следующее
От: Rosser Schwarz
Дата:
Сообщение: function fails where individual statements succeed