| From: | Matthew C Forman <mcf(at)dmu(dot)ac(dot)uk> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Adding on to the end of an array |
| Date: | 2002-10-14 19:46:11 |
| Message-ID: | Pine.OSF.3.96.1021014203932.10077B-100000@valyus |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi all,
I'm very new to PostgreSQL, but this doesn't seem to be in the FAQs, and
I can't find anything 'out there'...
I moved to pgsql because of its array support. I need to be able to append
an element on to an existing array _without knowing its current length_.
I thought that I may be able to find out the length of an array and then
construct a subscript for the next (currently non-existent) element by
just adding 1, but... array_dims() doesn't seem to give easily useable
output.
Does anyone have any idea on this?
Thanks in advance,
Matthew
--
Dr. Matthew C. Forman mcf(at)dmu(dot)ac(dot)uk
School of Engineering & Technology
De Montfort University, Leicester, UK.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sébastien Lardière | 2002-10-14 19:50:10 | Re: Rép. : [GENERAL] Advocacy s |
| Previous Message | David De Graff | 2002-10-14 19:42:37 | Postgres-based system to run .org registry? |