integer array, push and pop - Mailing list pgsql-hackers

From Ryan Mahoney
Subject integer array, push and pop
Date
Msg-id 012c01c2793f$31443790$8201a8c0@root
Whole thread Raw
In response to Re: DBD::PG - any works to be compatile with 7.3 ?  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
Hi Oleg (and pgsql hackers!),

Recently I encountered a problem attempting to use the integer array
function for pushing an integer onto an integer array field.

Can you write an example of a sql statement for pushing a single value onto
an integer array and for popping a specific value off of an integer array?
I see the function in the documentation, but the actual statement syntax to
use is not clear to me.

Thanks for any help you can provide!

Ryan Mahoney





pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: bison 1.75 installed ...
Next
From: "Marc G. Fournier"
Date:
Subject: Re: CVS split problems