Re: Backend assertion failure on \d - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Backend assertion failure on \d
Date
Msg-id 26722.1235578720@sss.pgh.pa.us
Whole thread Raw
In response to Backend assertion failure on \d  (Alan Li <alanwli@gmail.com>)
List 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 by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Service not starting: Error 1053
Next
From: Tom Lane
Date:
Subject: MSVC buildfarm members are all unhappy