Re: using string functions on plpgsql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Cc: Marcelo Edgardo Paniagua Lizarraga <mpaniagua18(at)gmail(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: using string functions on plpgsql
Date: 2008-04-17 04:42:21
Message-ID: 9089.1208407341@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Craig Ringer <craig(at)postnewspapers(dot)com(dot)au> writes:
> i = length(texto)
>> ^^^
>>
>> i := length(texto)

> Whoops, I spoke too soon - it seems both are valid for assignment. Has
> that always been true?

Yeah, it's not documented, but AFAIK plpgsql has always taken both.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Marcin Krawczyk 2008-04-17 08:23:30 error codes
Previous Message Craig Ringer 2008-04-17 04:27:35 Re: What does mod - in "mod statement" - stand for?