Re: Backend assertion failure on \d

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Backend assertion failure on \d
Дата
Msg-id 26722.1235578720@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Backend assertion failure on \d  (Alan Li <alanwli@gmail.com>)
Список pgsql-hackers
Alan Li <alanwli@gmail.com> writes:
> Running the following against HEAD and REL8_3_6:
> create table foo (a varchar(500));
> create view bar as select case foo.a when '1' then 'foo' else 'bar' end as
> fa from foo;
> \d bar
> Causes as assertion in the backend:

Thanks for the report.  Looks like I forgot to consider the possibility
that type coercion nodes would get inserted atop the CaseTestExpr.
You can break the other paths here too if you try things likecase foo when true then ...
where foo is of a domain over boolean.

Will fix.
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Service not starting: Error 1053
Следующее
От: Tom Lane
Дата:
Сообщение: MSVC buildfarm members are all unhappy