From: | Andreas Karlsson <andreas(at)proxel(dot)se> |
---|---|
To: | Ildar Musin <i(dot)musin(at)postgrespro(dot)ru>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com> |
Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: MAP syntax for arrays |
Date: | 2018-05-08 14:22:53 |
Message-ID: | 3b43458f-79fb-0180-a85c-fc3e3987c971@proxel.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 05/08/2018 02:49 PM, Ildar Musin wrote:
> The main point of this patch was about convenience; the performance
> thing came out later just as a side effect :) Many users are familiar
> with "map/reduce/filter" concept that many languages (not only
> functional ones) utilized. And my though was that it would be great to
> have those in postgres too.
Map is a feature I have quite often wished to have, but I am not sure it
is quite useful enough to be worth adding our own proprietary syntax. It
would be a pain if the SQL committee started using MAP for something.
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-05-08 14:27:37 | Re: Cast jsonb to numeric, int, float, bool |
Previous Message | Юрий Соколов | 2018-05-08 14:22:26 | Re: [HACKERS] Clock with Adaptive Replacement |