[postgis-devel] running PostGIS on valgrind-enabled build /identifying memory issues

Tomas Vondra tomas.vondra at 2ndquadrant.com
Sat Feb 10 09:12:43 PST 2018


On 02/10/2018 04:33 PM, Sandro Santilli wrote:
> Tomas, since which versino does PostgreSQL have such built-in
> valgrind support ? Would you feel like trying to add such build
> option in the Dockerfile used by Drone to test PostGIS ?
> https://git.osgeo.org/gitea/postgis/postgis-docker/src/branch/master/build-test
> 

The instrumentation is there since PostgreSQL 9.4. Adding it to a docker
image might be useful, but it makes the testing much longer (not only it
works better with -O0, valgrind pretty much emulates a lot of stuff). So
maybe as an option that is disabled by default.

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


More information about the postgis-devel mailing list