Re: BUG #16190: The usage of NULL pointer in refint.c
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, starbugs@qq.com, pgsql-bugs@lists.postgresql.org
Date: 2020-01-07T01:27:41Z
Lists: pgsql-bugs
Attachments
- refint-alloc-fixes.patch (text/x-diff) patch
On Mon, Jan 06, 2020 at 09:44:43AM -0800, Andres Freund wrote: > I think we should consider either moving this out of contrib, or fixing > it up. test/example code is fine, but contrib gets installed by default > for a lot of people... And yea, this isn't just about contrib/spi. No idea about moving that out of contrib/, but here is a patch to fix things that just moves the allocations to TopMemoryContext and removes the system calls. -- Michael
Commits
-
Remove dependency to system calls for memory allocation in refint
- b0b619638668 13.0 landed