Re: MAP syntax for arrays - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: MAP syntax for arrays
Date
Msg-id 3b43458f-79fb-0180-a85c-fc3e3987c971@proxel.se
Whole thread Raw
In response to Re: MAP syntax for arrays  (Ildar Musin <i.musin@postgrespro.ru>)
Responses Re: MAP syntax for arrays
List 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


pgsql-hackers by date:

Previous
From: Юрий Соколов
Date:
Subject: Re: [HACKERS] Clock with Adaptive Replacement
Next
From: Tom Lane
Date:
Subject: Re: Cast jsonb to numeric, int, float, bool