Exposing guc_malloc/strdup/realloc for plugins? - Mailing list pgsql-hackers

From Michael Paquier
Subject Exposing guc_malloc/strdup/realloc for plugins?
Date
Msg-id 20180508064612.GA11897@paquier.xyz
Whole thread Raw
Responses Re: Exposing guc_malloc/strdup/realloc for plugins?  (Euler Taveira <euler@timbira.com.br>)
List pgsql-hackers
Hi all,

While hacking on an extension, I have finished by doing things similar
to guc_malloc & friends for the allocation of a GUC parameter for malloc
portability.  While that's not really a big deal to copy/paste this
code, I am wondering if it would make sense to expose them for extension
developers.  Please see the attached for the simple idea.

Thanks,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: Porting PG Extension from UNIX to Windows
Next
From: Amit Langote
Date:
Subject: Re: [Suspect SPAM] Re: [HACKERS] path toward faster partition pruning