Re: array in a store procedure in C - Mailing list pgsql-general

From Juan Pablo L
Subject Re: array in a store procedure in C
Date
Msg-id CABSYDaaDY3026nPin=1KJ-G47n5X-RooJj1dKZ0_fsE+Qe2D2g@mail.gmail.com
Whole thread Raw
In response to Re: array in a store procedure in C  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: array in a store procedure in C
List pgsql-general

i will look there ... i have been looking in a lot of source files and can not find anything that helps but i will look in those specific files. Thanks a lot.

On Jan 29, 2015 9:09 PM, "Michael Paquier" <michael.paquier@gmail.com> wrote:
On Thu, Jan 29, 2015 at 11:45 PM, Juan Pablo L
<jpablolorenzetti@gmail.com> wrote:
> I would really appreciate if someone could give me guidelines how to
> read/extract the rows from the array and then get each element from the
> rows. thank you very much!!

src/backend/utils/adt/array_userfuncs.c is a mine of information
containing a set of C functions to operate on arrays. You may as well
look at contrib/intarray for some inspiration.
--
Michael


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: what is parse ?
Next
From: Jeremy Palmer
Date:
Subject: HTTP user authentication against PostgreSQL