Re: Problem with the use of Array and Loop

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Benjamin RICHARD" <benjamin(at)intradot(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with the use of Array and Loop
Date: 2003-04-18 14:11:14
Message-ID: 3692.1050675074@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Benjamin RICHARD" <benjamin(at)intradot(dot)com> writes:
> To do this i create the following function which return me a parse error
> near '[' (in the Raise notice line)
> What mistake did i do ?

IIRC, the RAISE NOTICE command is incapable of evaluating expressions;
it can only handle trivial variable references. Do something useful
with the array element instead of RAISE ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-04-18 14:20:33 Re: explain ?
Previous Message Patrick Welche 2003-04-18 13:19:05 explain ?