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 C4EE3D1B380 for ; Thu, 24 Jun 2004 10:48:04 -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 68118-04 for ; Thu, 24 Jun 2004 13:48:03 +0000 (GMT) Received: from rock.spider.ru (rock.spider.ru [62.183.34.226]) by svr1.postgresql.org (Postfix) with ESMTP id D6116D1B262 for ; Thu, 24 Jun 2004 10:47:59 -0300 (ADT) Received: from rock (localhost [127.0.0.1]) by rock (Postfix) with SMTP id 5441E9125E; Thu, 24 Jun 2004 17:48:01 +0400 (MSD) Received: from sad.localnet.ru (sad.localnet.ru [10.0.0.33]) by rock.spider.ru (Postfix) with ESMTP id 5F7C89125A; Thu, 24 Jun 2004 17:47:57 +0400 (MSD) Content-Type: text/plain; charset="iso-8859-1" From: sad Organization: IT To: Stephan Szabo Subject: Re: feature request ? Date: Thu, 24 Jun 2004 16:55:26 +0400 User-Agent: KMail/1.4.3 Cc: "Gregory S. Williamson" , pgsql-sql@postgresql.org References: <71E37EF6B7DCC1499CEA0316A256832801057B7C@loki.wc.globexplorer.net> <200406241104.15265.sad@bankir.ru> <20040624062119.Q87012@megazone.bigpanda.com> In-Reply-To: <20040624062119.Q87012@megazone.bigpanda.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200406241655.26065.sad@bankir.ru> 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/231 X-Sequence-Number: 18176 > If you were to add a NULL block you'd have to deal with things > like, if you only have a then and else, do you run the else on NULL or do > you do nothing? If you do nothing, what if you want the null and else to > be the same, do you add another way to specify that? If you do the else, > then the else stops making sense since it's sometimes false and sometimes > not true. it is only syntax problem. really we have more than one way to continue execution if one block is skip= ped so your are free to define IF's behavior any way, particularly the way it i= s=20 defined now. two-blocks IF is oviously enough to code ANY algorythm but the three-blocks IF is more adequate to tri-valued BOOL