Amit Kapila <amit.kapil...@gmail.com> writes: > On Wed, Jun 18, 2014 at 2:09 AM, Tom Lane <t...@sss.pgh.pa.us> wrote: >> On the other hand, this approach would entirely fail to account for >> non-palloc'd allocations, which could be a significant issue in some >> contexts.
> Won't it be possible if we convert malloc calls in backend code to > go through wrapper, we already have some precedents of same like > guc_malloc, pg_malloc? We do not have control over mallocs done by third-party code (think pl/perl for example). mallocs done by our own code are fairly insignificant, I would hope. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers