| From: | Ali Akbar <the(dot)apaan(at)gmail(dot)com> |
|---|---|
| To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Function array_agg(array) |
| Date: | 2014-10-27 02:11:11 |
| Message-ID: | CACQjQLp6-xMf1Yn1yDrj2gJBaL5kD8C2VP=Pz0DPo1wq70pUtg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
2014-10-27 1:38 GMT+07:00 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jim Nasby | 2014-10-27 04:12:10 | Re: [HACKERS] ltree::text not immutable? |
| Previous Message | Andreas Karlsson | 2014-10-27 01:48:55 | Re: Reducing lock strength of adding foreign keys |