I understand. Thank you very much for clearing things up.
It helps me a lot, especially point 3.
"3. When you run SPI_connect () the memory context is switched
transparently for you to a special SPI memory context. When you run
SPI_finish () the original memory context (the one in effect be
On 11/25/19 4:38 PM, Yessica Brinkmann wrote:
> Well, as I was told that I should save the
> CurrentMemoryContext before starting the SPI, Let's say it would be
> before doing SPI_connect (). Is this correct? And then I must use
> MemoryContextStrdup. As you told me the MemoryContextStrdup It is
>
Good afternoon,
Well, I spent some time without implementing my thesis for a topic of
mental fatigue, I had to go for a while.
A few days ago I came back and was trying to implement the context change.
But I really believe that, although I read the explanations and source
codes that you indicated,
Thank you very much for the answer.
Best regards,
Yessica Brinkmann
El lun., 28 oct. 2019 a las 8:03, Joe Conway ()
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
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 t
a Brinkmann (<
>> yessica.brinkm...@gmail.com>) escribió:
>>
>>> Thank you so much for your answer. I will be testing the indicated and
>>> then I give you return.
>>> Best regards,
>>>
>>> Yessica Brinkmann
>>>
>>>
>&g
t. 2019 a las 12:24, Yessica Brinkmann (<
> yessica.brinkm...@gmail.com>) escribió:
>
>> Thank you so much for your answer. I will be testing the indicated and
>> then I give you return.
>> Best regards,
>>
>> Yessica Brinkmann
>>
>>
>> --
On Fri, 2019-10-25 at 22:06 -0300, Yessica Brinkmann wrote:
> What I do not understand well is how to use CurrentMemoryContext and
> MemoryContextStrdup
For examples using memotry contexts, search the PostgreSQL source code.
To make memory management easier and safer, PostgreSQL has implemented
I give you return.
>> Best regards,
>>
>> Yessica Brinkmann
>>
>>
>> ---- Mensaje original
>> Asunto: Re: I think that my data is saved correctly, but when printing
>> again, other data appears
>> De: Tom Lane
>> Para: Yessica Brin
ds,
>
> Yessica Brinkmann
>
>
> Mensaje original --------
> Asunto: Re: I think that my data is saved correctly, but when printing
> again, other data appears
> De: Tom Lane
> Para: Yessica Brinkmann
> CC: pgsql-general@lists.postgresql.org
>
>
> Yessic
Thank you so much for your answer. I will be testing the indicated and then I give you return.Best regards,Yessica Brinkmann Mensaje original Asunto: Re: I think that my data is saved correctly, but when printing again, other data appearsDe: Tom Lane Para: Yessica Brinkmann CC: pgsq
Yessica Brinkmann writes:
> I have a function called get_columnnames, which runs on a Postgresql server
> and returns the names of the columns of a table in a Postgresql database.
> In the first foreach, in the statement: idxcd-> varattnames [cont] = data;
> column names are saved. Those column na
Good day,
I am doing a thesis from the University. My thesis is the modification of
the Gurjeet Index Adviser, to add some features.
I have a function called get_columnnames, which runs on a Postgresql server
and returns the names of the columns of a table in a Postgresql database.
In the first for
13 matches
Mail list logo