Re: I think that my data is saved correctly, but when printing again, other data appears

From: Yessica Brinkmann <yessica(dot)brinkmann(at)gmail(dot)com>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Jony Cohen <jony(dot)cohenjo(at)gmail(dot)com>, laurenz(dot)albe(at)cybertec(dot)at, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: I think that my data is saved correctly, but when printing again, other data appears
Date: 2019-10-28 15:39:47
Message-ID: CABrYqSO6BZvBU8ONFfcgCtYbuQew+L+aqS0F=YEN=QJdzVaQ-A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you very much for the answer.
Best regards,
Yessica Brinkmann

El lun., 28 oct. 2019 a las 8:03, Joe Conway (<mail(at)joeconway(dot)com>)
escribió:

> On 10/27/19 8:01 PM, Yessica Brinkmann wrote:
> > Thank you so much for the answers.
> > By telling me this: "MemoryContextStrdup enables you to create a copy of
> > a string in an explicitly specified memory context." I better understood
> > the function of MemoryContextStrdup.
> > And thank you very much to Mr. Jony Cohen for giving me the reference of
> > his work. I really was already researching about his work, and I
> > included it in the state of the art of my thesis, but I didn't look at
> > the source code.
> > I will be looking at the source code for a help, and especially in this
> > case to see for the moment, the maintenance of the context for its
> > subsequent restoration.
>
> For better understanding of how Postgres manages memory, you might want
> to also read this:
>
>
> https://github.com/postgres/postgres/blob/master/src/backend/utils/mmgr/README
>
> and possibly browse through this:
>
>
> https://github.com/postgres/postgres/blob/master/src/backend/utils/mmgr/mcxt.c
>
> HTH,
>
> Joe
> --
> Crunchy Data - http://crunchydata.com
> PostgreSQL Support for Secure Enterprises
> Consulting, Training, & Open Source Development
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ZhenHua Cai 2019-10-28 16:51:07 Re: PostgreSQL - unrecognized win32 error code: 38
Previous Message Mark Felder 2019-10-28 15:00:12 Re: jsonb_set() strictness considered harmful to data