From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Allowing to run a buildfarm animal under valgrind |
Date: | 2016-03-08 21:26:29 |
Message-ID: | 20160308212629.lorfxiip7tepp6nh@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2016-03-08 21:27:44 | Re: More stable query plans via more predictable column statistics |
Previous Message | David Rowley | 2016-03-08 21:26:18 | Re: Parallel Aggregate |