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 587EFD1B7BC for ; Thu, 24 Jun 2004 11:16:49 -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 82123-10 for ; Thu, 24 Jun 2004 14:16:48 +0000 (GMT) Received: from rock.spider.ru (rock.spider.ru [62.183.34.226]) by svr1.postgresql.org (Postfix) with ESMTP id 783CFD1B18E for ; Thu, 24 Jun 2004 11:16:43 -0300 (ADT) Received: from rock (localhost [127.0.0.1]) by rock (Postfix) with SMTP id 1BBFC9136D; Thu, 24 Jun 2004 18:16:47 +0400 (MSD) Received: from sad.localnet.ru (sad.localnet.ru [10.0.0.33]) by rock.spider.ru (Postfix) with ESMTP id C3B46911F7; Thu, 24 Jun 2004 18:16:45 +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 17:24:14 +0400 User-Agent: KMail/1.4.3 Cc: "Gregory S. Williamson" , pgsql-sql@postgresql.org References: <71E37EF6B7DCC1499CEA0316A256832801057B7C@loki.wc.globexplorer.net> <200406241655.26065.sad@bankir.ru> <20040624065015.Y87012@megazone.bigpanda.com> In-Reply-To: <20040624065015.Y87012@megazone.bigpanda.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200406241724.14810.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/233 X-Sequence-Number: 18178 > then lots of currently perfectly correct > programs break. If they're the same, then ELSE has different meanings > depending on whether NULL is specified, and that's generally bad from an > understanding the language standpoint. i've already thougth on this new control structure needed but the name of the IF is perfect %-) > In addition, either adding a FALSE and NULL or just a NULL still involves > looking at the rest of the IF semantics to make sure they make sense. How > do those interact with ELSIF blocks? that is because we used to two-valued BOOL...=20 but anyway i see no clear way to generalize ELSEIF. may i suppose it was wrong to historically define IF as two-blocks control = in=20 plpgsql ? forget it.