Re: Function array_agg(array) - Mailing list pgsql-hackers

From Ali Akbar
Subject Re: Function array_agg(array)
Date
Msg-id CACQjQLp6-xMf1Yn1yDrj2gJBaL5kD8C2VP=Pz0DPo1wq70pUtg@mail.gmail.com
Whole thread Raw
In response to Re: Function array_agg(array)  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Function array_agg(array)
List pgsql-hackers

2014-10-27 1:38 GMT+07:00 Pavel Stehule <pavel.stehule@gmail.com>:
Hi

My idea is using new ArrayBuilder optimized for building multidimensional arrays with own State type. I think so casting to ArrayBuildState is base of our problems, so I don't would to do. Code in array_agg_* is simple, little bit more complex code is in nodeSubplan.c. Some schematic changes are in attachments.

Thanks! The structure looks clear, and thanks for the example on nodeSubplan.c. I will restructure the v10 of the patch to this structure.

Regards,
--
Ali Akbar

pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: Reducing lock strength of adding foreign keys
Next
From: Jim Nasby
Date:
Subject: Re: [BUGS] ltree::text not immutable?