Re: Updating an array

From: Renaud Tthonnart <thonnart(at)amwdb(dot)u-strasbg(dot)fr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Updating an array
Date: 2001-02-26 08:15:42
Message-ID: 3A9A10AE.D424991F@amwdb.u-strasbg.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:

> Renaud Tthonnart <thonnart(at)amwdb(dot)u-strasbg(dot)fr> writes:
> > *** 2 ***
> > UPDATE xxx
> > SET nombres[5]= 63
> > WHERE id = 1;
> > ==> Here, I'd just append a new element to the array. That doesn't work
>
> This does work --- at least for one-dimensional arrays --- as of 7.1.
>
> regards, tom lane

Ok, many thanks!
Renaud THONNART

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve O'Hagan 2001-02-26 08:46:14 Migrate from MS SQL 6.5 to postgres??
Previous Message Jeremy Smith 2001-02-26 08:15:03 Problem with host connection