X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BA014D1BB42 for ; Wed, 23 Jun 2004 14:13:21 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30326-05 for ; Wed, 23 Jun 2004 17:13:21 +0000 (GMT) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id E067DD1BB13 for ; Wed, 23 Jun 2004 14:13:19 -0300 (ADT) Received: from [63.195.55.98] (HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 5461873; Wed, 23 Jun 2004 10:14:59 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Organization: Aglio Database Solutions To: sad , pgsql-sql@postgresql.org Subject: Re: feature request ? Date: Wed, 23 Jun 2004 10:12:36 -0700 User-Agent: KMail/1.4.3 References: <200406231355.50079.sad@bankir.ru> In-Reply-To: <200406231355.50079.sad@bankir.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200406231012.36791.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/219 X-Sequence-Number: 18164 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