test strange behavior - Mailing list pgsql-novice

From Jean-Yves F. Barbier
Subject test strange behavior
Date
Msg-id 20111106215739.3d270fd1@anubis.defcon1
Whole thread Raw
Responses Re: test strange behavior
List pgsql-novice
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).

Any clue?

JY
--
If men could get pregnant, abortion would be a sacrament.

pgsql-novice by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: extension installation PB
Next
From: Tom Lane
Date:
Subject: Re: extension installation PB