Re: [HACKERS] WIP: Aggregation push-down

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: [HACKERS] WIP: Aggregation push-down
Дата
Msg-id
CA+TgmoYDDq332NZn-51fte_F_zUbyHNSgQjdHbEdHE5sU3=f9Q@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Re: [HACKERS] WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: [HACKERS] WIP: Aggregation push-down Michael Paquier <michael@paquier.xyz>
Re: [HACKERS] WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: [HACKERS] WIP: Aggregation push-down Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: [HACKERS] WIP: Aggregation push-down Richard Guo <riguo@pivotal.io>
Re: [HACKERS] WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: [HACKERS] WIP: Aggregation push-down Richard Guo <riguo@pivotal.io>
Re: [HACKERS] WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: [HACKERS] WIP: Aggregation push-down Richard Guo <riguo@pivotal.io>
Re: [HACKERS] WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: [HACKERS] WIP: Aggregation push-down Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: WIP: Aggregation push-down legrand legrand <legrand_legrand@hotmail.com>
Re: WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: WIP: Aggregation push-down Andy Fan <zhihui.fan1213@gmail.com>
Re: WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: WIP: Aggregation push-down Andy Fan <zhihui.fan1213@gmail.com>
Re: WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: WIP: Aggregation push-down Daniel Gustafsson <daniel@yesql.se>
Re: WIP: Aggregation push-down Laurenz Albe <laurenz.albe@cybertec.at>
Re: WIP: Aggregation push-down Andy Fan <zhihui.fan1213@gmail.com>
Re: WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: [HACKERS] WIP: Aggregation push-down Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: WIP: Aggregation push-down legrand legrand <legrand_legrand@hotmail.com>
Re: WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
Re: [HACKERS] WIP: Aggregation push-down Richard Guo <guofenglinux@gmail.com>
Re: [HACKERS] WIP: Aggregation push-down Antonin Houska <ah@cybertec.at>
On Mon, Jan 29, 2018 at 3:32 AM, Antonin Houska  wrote:
> I think of a variant of this: implement an universal function that tests the
> binary values for equality (besides the actual arguments, caller would have to
> pass info like typlen, typalign, typbyval for each argument, and cache these
> for repeated calls) and set pg_proc(oprcode) to 0 wherever this function is
> sufficient. Thus the problematic cases like numeric, citext, etc. would be
> detected by their non-zero oprcode.

I don't think that's a good option, because we don't want int4eq to
have to go through a code path that has branches to support varlenas
and cstrings.  Andres is busy trying to speed up expression evaluation
by removing unnecessary code branches; adding new ones would be
undoing that valuable work.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgsql-hackers по дате отправления
От: Simon Riggs
Дата:
От: Robert Haas
Дата:
FAQ