Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 310CF4758BD for ; Mon, 13 Jan 2003 19:47:33 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id C63F0475461 for ; Mon, 13 Jan 2003 19:47:31 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h0E0lNW20730; Mon, 13 Jan 2003 19:47:23 -0500 (EST) From: Bruce Momjian Message-Id: <200301140047.h0E0lNW20730@candle.pha.pa.us> Subject: Re: assigning values to array elements In-Reply-To: <5843.1042491856@sss.pgh.pa.us> To: Tom Lane Date: Mon, 13 Jan 2003 19:47:23 -0500 (EST) Cc: J Greenbaum , pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/195 X-Sequence-Number: 11060 Tom Lane wrote: > J Greenbaum writes: > > As you can see, I'm trying to assign a value to an array element, but it > > isn't working for some reason. > > plpgsql doesn't support that yet :-(. > > This needs to be fixed. I'm not sure why it doesn't have an entry in > TODO. Bruce, would you add something like > * allow assignment to array elements > to the plpgsql section? Added to TODO: o Allow PL/PgSQL to support array element assignment -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073