Re: CurrentMemoryContext and MemoryContextStrdup

Tom Lane <[email protected]> Tue, 26 Nov 2019 11:08:20 -0500
Newsgroups gmane.comp.db.postgresql.novice
Message-ID <[email protected]>
Yessica Brinkmann <[email protected]> writes:
> I have written in the general list on this subject, but since I do not get
> an answer according to my little knowledge on the subject, I write on this
> list, since perhaps my question is very basic.
> My query is the following: can you please give me some reference (link on
> the Internet) that explains how CurrentMemoryContext and
> MemoryContextStrdup is used, and also some example of source code of use?

I think you'd feel a lot better informed after reading

src/backend/utils/mmgr/README

			regards, tom lane