"Jean-Yves F. Barbier" <12ukwn(at)gmail(dot)com> writes:
> Hi list,
> I've a function that test a boolean parm, as:
> ....
> CASE $3
> WHEN TRUE THEN
> blabla
> WHEN FALSE THEN
> proutprout
> ELSE
> gadugadu
> END CASE;
> ....
> AFAI understand, the ELSE case would normally be triggered with a NULL
> but it isn't ('WHEN NULL THEN' also don't work).
Works for me ... maybe you need to show a more complete example,
so that we can see where the problem really is?
regards, tom lane