Re: ANY_VALUE aggregate

Поиск
Список
Период
Сортировка
Искать
От
Vik Fearing
Тема
Re: ANY_VALUE aggregate
Дата
Msg-id
90e7a585-4613-7a00-cfd9-6c33473f30db@postgresfriends.org
Ответ на
Re: ANY_VALUE aggregate (Corey Huinker)
Список
Дерево обсуждения
ANY_VALUE aggregate Vik Fearing <vik@postgresfriends.org>
Re: ANY_VALUE aggregate Vik Fearing <vik@postgresfriends.org>
Re: ANY_VALUE aggregate Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: ANY_VALUE aggregate Tom Lane <tgl@sss.pgh.pa.us>
Re: ANY_VALUE aggregate Vik Fearing <vik@postgresfriends.org>
Re: ANY_VALUE aggregate Vik Fearing <vik@postgresfriends.org>
Re: ANY_VALUE aggregate Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: ANY_VALUE aggregate David Rowley <dgrowleyml@gmail.com>
Re: ANY_VALUE aggregate Vik Fearing <vik@postgresfriends.org>
Re: ANY_VALUE aggregate Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: ANY_VALUE aggregate Maciek Sakrejda <m.sakrejda@gmail.com>
Re: ANY_VALUE aggregate "David G. Johnston" <david.g.johnston@gmail.com>
Re: ANY_VALUE aggregate Tom Lane <tgl@sss.pgh.pa.us>
Re: ANY_VALUE aggregate Robert Haas <robertmhaas@gmail.com>
Re: ANY_VALUE aggregate Corey Huinker <corey.huinker@gmail.com>
Re: ANY_VALUE aggregate Vik Fearing <vik@postgresfriends.org>
Re: ANY_VALUE aggregate Isaac Morland <isaac.morland@gmail.com>
Re: ANY_VALUE aggregate Robert Haas <robertmhaas@gmail.com>
Re: ANY_VALUE aggregate Vik Fearing <vik@postgresfriends.org>
Re: ANY_VALUE aggregate "David G. Johnston" <david.g.johnston@gmail.com>
Re: ANY_VALUE aggregate Vik Fearing <vik@postgresfriends.org>
Re: ANY_VALUE aggregate "David G. Johnston" <david.g.johnston@gmail.com>
Re: ANY_VALUE aggregate Pantelis Theodosiou <ypercube@gmail.com>
Re: ANY_VALUE aggregate "David G. Johnston" <david.g.johnston@gmail.com>
Re: ANY_VALUE aggregate Vik Fearing <vik@postgresfriends.org>
Re: ANY_VALUE aggregate "David G. Johnston" <david.g.johnston@gmail.com>
Re: ANY_VALUE aggregate Vik Fearing <vik@postgresfriends.org>
Re: ANY_VALUE aggregate "David G. Johnston" <david.g.johnston@gmail.com>
Re: ANY_VALUE aggregate Vik Fearing <vik@postgresfriends.org>
On 12/5/22 20:31, Corey Huinker wrote:
> 
> Adding to the pile of wanted aggregates: in the past I've lobbied for
> only_value() which is like first_value() but it raises an error on
> encountering a second value.

I have had use for this in the past, but I can't remember why.  What is 
your use case for it?  I will happily write a patch for it, and also 
submit it to the SQL Committee for inclusion in the standard.  I need to 
justify why it's a good idea, though, and we would need to consider what 
to do with nulls now that there is .
-- 
Vik Fearing



В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата:
От: Nathan Bossart
Дата:
FAQ