Re: Updating an array

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

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Soma Interesting 2001-02-23 17:32:20 Re: International support
Previous Message Alex Pilosov 2001-02-23 17:13:55 Re: drop a constraint