relcache leak warnings vs. errors

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: relcache leak warnings vs. errors
Date: 2020-04-11 08:09:59
Message-ID: 9095bf35-30b8-adf9-824b-36c9c2ce4cbd@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2020-04-11 08:21:32 Re: proposal - psql - possibility to redirect only tabular output
Previous Message Peter Eisentraut 2020-04-11 08:06:51 Re: cleaning perl code