Re: array in a store procedure in C

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Juan Pablo L <jpablolorenzetti(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: array in a store procedure in C
Date: 2015-01-30 03:08:01
Message-ID: CAB7nPqRvP8E2Zexv-6gcimEmk4GVD+k1k=0AhS=BOuKKS9aUZw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jan 29, 2015 at 11:45 PM, Juan Pablo L
<jpablolorenzetti(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2015-01-30 03:12:52 Re: Request for review of new redis-fdw module
Previous Message Bruce Momjian 2015-01-30 02:21:22 Re: sslmode verify-ca and verify-full: essentialy the same?