pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: sad <sad@bankir.ru>
To: pgsql-sql@postgresql.org
Subject: Re: feature request ?
Date: Wed, 23 Jun 2004 10:12:36 -0700
Message-ID: <200406231012.36791.josh@agliodbs.com> (raw)
In-Reply-To: <200406231355.50079.sad@bankir.ru>
References: <200406231355.50079.sad@bankir.ru>

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



view thread (33+ messages)  latest in thread

Message-ID: <200406231012.36791.josh@agliodbs.com>
Permalink:  ../200406231012.36791.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200406231012.36791.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com, sad@bankir.ru
  Subject: Re: feature request ?
  In-Reply-To: <200406231012.36791.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox