Re: Reuse of State value in Aggregates

Поиск
Список
Период
Сортировка
От Antonin Houska
Тема Re: Reuse of State value in Aggregates
Дата
Msg-id 45167.1636530012@antos
обсуждение исходный текст
Ответ на Reuse of State value in Aggregates  (gg pw <lucenaalmirjames123@gmail.com>)
Ответы Re: Reuse of State value in Aggregates  (gg pw <lucenaalmirjames123@gmail.com>)
Список pgsql-hackers
gg pw <lucenaalmirjames123@gmail.com> wrote:

> Do Aggregate functions/queries reuse the state value they generate for subsequent queries? If not then an explanation
wouldbe greatly appreciated.  

The subsequent queries are not supposed to feed the same input into the
aggregates, so their aggregate states will most likely be different. Maybe you
need to post an example where you think such reusing would be useful.

--
Antonin Houska
Web: https://www.cybertec-postgresql.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Nancarrow
Дата:
Сообщение: Re: On login trigger: take three
Следующее
От: Dilip Kumar
Дата:
Сообщение: Re: Add connection active, idle time to pg_stat_activity