Re: [HACKERS] segfault in HEAD when too many nested functions call

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] segfault in HEAD when too many nested functions call
Дата
Msg-id 20170718120409.wef57vpdhpzpkjfp@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] segfault in HEAD when too many nested functions call  (Julien Rouhaud <julien.rouhaud@dalibo.com>)
Ответы Re: [HACKERS] segfault in HEAD when too many nested functions call  (Julien Rouhaud <julien.rouhaud@dalibo.com>)
Список pgsql-hackers
On 2017-07-17 23:04:43 +0200, Julien Rouhaud wrote:
> On 17/07/2017 16:57, Andres Freund wrote:
> > The latter obviously isn't ready, but might make clearer what I'm
> > thinking about.
> 
> It did for me, and FWIW I like this approach.

Cool.


> > If we were to go this route we'd have to probably move
> > the callback assignment into the ExecInit* routines, and possibly
> > replace the switch in ExecInitNode() with another callback, assigned in
> > make_*, and implement callbacks for ExecShutdown, MultiExecProcNode etc.
> > 
> > This results in a good speedup in tpc-h btw:
> > master total min: 46434.897 cb min: 44778.228 [diff -3.70]
> 
> Is it v11 material or is there any chance to make it in v10?

I think it'd make sense to apply the first to v10 (and earlier), and the
second to v11.  I think this isn't a terribly risky patch, but it's
still a relatively large change for this point in the development
cycle.  I'm willing to reconsider, but that's my default.

- Andres



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

Предыдущее
От: david.turon@linuxbox.cz
Дата:
Сообщение: [HACKERS] JSONB - JSONB operator feature request
Следующее
От: Victor Drobny
Дата:
Сообщение: Re: [HACKERS] merge psql ef/ev sf/sv handling functions