Re: memory leak checking

2019-04-22 Thread Tom Lane
Andres Freund writes: > On 2019-04-22 20:29:17 -0400, Tom Lane wrote: >> I would not call the timezone data a "leak", since it's still useful, and >> accessible from static pointers, right up to exit. A true leak for this >> purpose is memory that's allocated but not usefully accessible, and I'd

Re: memory leak checking

2019-04-22 Thread Andres Freund
Hi, On 2019-04-22 20:29:17 -0400, Tom Lane wrote: > Andres Freund writes: > > On 2019-04-22 16:50:25 -0700, Mikhail Bautin wrote: > >> 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 c

Re: memory leak checking

2019-04-22 Thread Tom Lane
Andres Freund writes: > On 2019-04-22 16:50:25 -0700, Mikhail Bautin wrote: >> 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? > Leaks are all

Re: memory leak checking

2019-04-22 Thread Andres Freund
Hi, On 2019-04-22 16:50:25 -0700, Mikhail Bautin wrote: > 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? There's continuous use of valgrind on