Re: CurrentMemoryContext and MemoryContextStrdup

Yessica Brinkmann <[email protected]> Tue, 26 Nov 2019 13:24:12 -0300
Newsgroups gmane.comp.db.postgresql.novice
Message-ID <CABrYqSM9nB_cMGXHgMmyyRHwO-FTOgY_rVj-vq=guKe02GL2aw@mail.gmail.com>
--0000000000000bf36c059842502a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thank you very much for the reply!
Not really, I don't feel better informed because MemoryContextStrdup is not
even mentioned once in the README.
Best regards,
Yessica Brinkmann

El mar., 26 nov. 2019 a las 13:08, Tom Lane (<[email protected]>) escribi=
=C3=B3:

> 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 us=
e?
>
> I think you'd feel a lot better informed after reading
>
> src/backend/utils/mmgr/README
>
>                         regards, tom lane
>

--0000000000000bf36c059842502a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thank you very much for the reply!<br>Not really, I don&#3=
9;t feel better informed because MemoryContextStrdup is not even mentioned =
once in the README.<br>Best regards,<br>Yessica Brinkmann<br></div><br><div=
 class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">El mar., 26 no=
v. 2019 a las 13:08, Tom Lane (&lt;<a href=3D"mailto:[email protected]">tgl=
@sss.pgh.pa.us</a>&gt;) escribi=C3=B3:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex">Yessica Brinkmann &lt;<a href=3D"mailto:yessica.brin=
[email protected]" target=3D"_blank">[email protected]</a>&gt; writ=
es:<br>
&gt; I have written in the general list on this subject, but since I do not=
 get<br>
&gt; an answer according to my little knowledge on the subject, I write on =
this<br>
&gt; list, since perhaps my question is very basic.<br>
&gt; My query is the following: can you please give me some reference (link=
 on<br>
&gt; the Internet) that explains how CurrentMemoryContext and<br>
&gt; MemoryContextStrdup is used, and also some example of source code of u=
se?<br>
<br>
I think you&#39;d feel a lot better informed after reading<br>
<br>
src/backend/utils/mmgr/README<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 regards, tom lane<br>
</blockquote></div>

--0000000000000bf36c059842502a--