relcache leak warnings vs. errors - Mailing list pgsql-hackers

From Peter Eisentraut
Subject relcache leak warnings vs. errors
Date
Msg-id 9095bf35-30b8-adf9-824b-36c9c2ce4cbd@2ndquadrant.com
Whole thread Raw
Responses Re: relcache leak warnings vs. errors  (Julien Rouhaud <rjuju123@gmail.com>)
Re: relcache leak warnings vs. errors  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I just fixed a relcache leak that I accidentally introduced 
(5a1d0c9925).  Because it was a TAP test involving replication workers, 
you don't see the usual warning anywhere unless you specifically check 
the log files manually.

How about a compile-time option to turn all the warnings in resowner.c 
into errors?  This could be enabled automatically by --enable-cassert, 
similar to other defines that that option enables.

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



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: cleaning perl code
Next
From: Pavel Stehule
Date:
Subject: Re: proposal - psql - possibility to redirect only tabular output