Re: CurrentMemoryContext and MemoryContextStrdup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Yessica Brinkmann <yessica(dot)brinkmann(at)gmail(dot)com>
Cc: pgsql-novice(at)lists(dot)postgresql(dot)org
Subject: Re: CurrentMemoryContext and MemoryContextStrdup
Date: 2019-11-26 16:08:20
Message-ID: 7601.1574784500@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Yessica Brinkmann <yessica(dot)brinkmann(at)gmail(dot)com> 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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Yessica Brinkmann 2019-11-26 16:24:12 Re: CurrentMemoryContext and MemoryContextStrdup
Previous Message Yessica Brinkmann 2019-11-26 13:57:55 CurrentMemoryContext and MemoryContextStrdup