Re: feature request ? - Mailing list pgsql-sql

From Josh Berkus
Subject Re: feature request ?
Date
Msg-id 200406231012.36791.josh@agliodbs.com
Whole thread Raw
In response to feature request ?  (sad <sad@bankir.ru>)
Responses Re: feature request ?
List pgsql-sql
Sad,

> since BOOL expression has three possible values: TRUE,FALSE,NULL
> plpgsql IF control structure should have three alternate blocks:
> THEN,ELSE,NULL
>
> shouldn't it ?

No, why?

How would you construct a tri-valued IF/THEN?     Doesn't seem too likely to 
me, as well as being different from every other programming language in 
existance ...

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: ERROR: Unable to format timestamp; internal coding error
Next
From: Michael Glaesemann
Date:
Subject: Re: feature request ?