Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 606482E008F for ; Wed, 16 Apr 2008 22:52:12 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 78869-02 for ; Wed, 16 Apr 2008 22:52:09 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [202.61.230.242]) by developer.postgresql.org (Postfix) with ESMTP id 9C7ED2E009B for ; Wed, 16 Apr 2008 22:52:09 -0300 (ADT) Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by www.postnewspapers.com.au (Postfix) with ESMTP id 6526B3B7; Thu, 17 Apr 2008 09:52:05 +0800 (WST) Received: from localhost (access [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 933F91E0436; Thu, 17 Apr 2008 09:52:08 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (access.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Y6tVCdcZjTIl; Thu, 17 Apr 2008 09:52:08 +0800 (WST) Received: from [203.161.97.213] (203.161.97.213.static.amnet.net.au [203.161.97.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTP id DED141E0435; Thu, 17 Apr 2008 09:52:07 +0800 (WST) Message-ID: <4806AD39.7010801@postnewspapers.com.au> Date: Thu, 17 Apr 2008 09:51:53 +0800 From: Craig Ringer User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Marcelo Edgardo Paniagua Lizarraga Cc: pgsql-sql@postgresql.org Subject: Re: using string functions on plpgsql References: <2ba670e30804161450q68312d25l3e36a98034badbe9@mail.gmail.com> <4806AC34.2050106@postnewspapers.com.au> In-Reply-To: <4806AC34.2050106@postnewspapers.com.au> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/103 X-Sequence-Number: 30642 Craig Ringer wrote: > Marcelo Edgardo Paniagua Lizarraga wrote: > >> declare >> i integer; >> begin >> ... >> >> i = length(texto) > ^^^ > > i := length(texto) Whoops, I spoke too soon - it seems both are valid for assignment. Has that always been true? The one time I don't write a small test before posting.... -- Craig Ringer