Re: Allowing to run a buildfarm animal under valgrind

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Allowing to run a buildfarm animal under valgrind
Дата
Msg-id 20160308212629.lorfxiip7tepp6nh@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Allowing to run a buildfarm animal under valgrind  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On 2016-03-08 18:24:23 -0300, Alvaro Herrera wrote:
> Andres Freund wrote:
> 
> > I do wonder if adding a PGCTLPOSTGRESWRAPPER or something to pg_ctl
> > would be ok. That'd just supplant calling the postgres binary, making
> > all this easier.
> 
> This seems a reasonably principled way to go about this.  Eventually we
> might plug other things in it ...

It's not that easy to write such a wrapper though - you *have* to exec
the final binary, because -w assumes that the child pid is going to
appear in postmaster.pid...

To be actually useful we kinda would have to backpatch this to 9.4
(where the valgrind hardening stuff started)...

Andres



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Parallel Aggregate
Следующее
От: Tom Lane
Дата:
Сообщение: Re: More stable query plans via more predictable column statistics