memory leak checking - Mailing list pgsql-hackers

From Mikhail Bautin
Subject memory leak checking
Date
Msg-id CA+7awWNUmW64LMz3_kjqfkVzK+6tX5K2ofu_UD-AimXCoHBz1A@mail.gmail.com
Whole thread Raw
Responses Re: memory leak checking
List pgsql-hackers
Hello PostgreSQL Hackers,

What is the standard memory leak checking policy for the PostgreSQL codebase? I know there is some support for valgrind -- is the test suite being run continuously with valgrind on the build farm?

Is there any plan to support clang's AddressSanitizer?

I've seen a thread that memory leaks are allowed in initdb, because it is a short-lived process. Obviously they are not allowed in the database server. Are memory leaks allowed in the psql tool?

Regards,
Mikhail

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: finding changed blocks using WAL scanning
Next
From: Andres Freund
Date:
Subject: Re: memory leak checking