Re: MAP syntax for arrays

Поиск
Список
Период
Сортировка
От Andreas Karlsson
Тема Re: MAP syntax for arrays
Дата
Msg-id 3b43458f-79fb-0180-a85c-fc3e3987c971@proxel.se
обсуждение исходный текст
Ответ на Re: MAP syntax for arrays  (Ildar Musin <i.musin@postgrespro.ru>)
Ответы Re: MAP syntax for arrays  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список 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 по дате отправления:

Предыдущее
От: Юрий Соколов
Дата:
Сообщение: Re: [HACKERS] Clock with Adaptive Replacement
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Cast jsonb to numeric, int, float, bool