Re: [GSoC] array processing questions - Mailing list pgsql-hackers

From Charles Cui
Subject Re: [GSoC] array processing questions
Date
Msg-id CA+SXE9tO5onneNsoD2RkJ97cOE1_-Ta=4+0++8aasgppCNVUoQ@mail.gmail.com
Whole thread Raw
In response to Re: [GSoC] array processing questions  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
List pgsql-hackers
thanks Andrew, will take a look.

On Sat, Jun 23, 2018, 5:44 PM Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:
>>>>> "Charles" == Charles Cui <charles.cui1984@gmail.com> writes:

 Charles> Hi mentors and hackers,
 Charles>     One question about array processing in postgresql. Assume
 Charles> my input is a Datum (which contains an array). Are there any
 Charles> examples to loop through the array and operates on each
 Charles> element? feel like it is not that straight-ford.

See array_iter_setup and array_iter_next

--
Andrew (irc:RhodiumToad)

pgsql-hackers by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: [GSoC] array processing questions
Next
From: Tomas Vondra
Date:
Subject: Re: WIP: BRIN multi-range indexes