Thanks for your responses Michael and Amit Kapila,
Yes, we have included your suggestions in our code and started
testing to reproduce the same issue. In case we encounter this issue again we
will get back here.
Regards
G. Sai Ram
Thanks for the response,
Can you check if CurTransactionContext is valid at that point?
Any Postgres function to check if CurTransactionContext is valid or not?
To see, if this problem is related to CurTransactionContext, can you try to
populate the list in TopMemoryContext and see if
This sounds broken on its face --- if you want stuff to survive to
top-level commit, you need to keep it in TopTransactionContext.
CurTransactionContext might be a subtransaction's context that will
go away at subtransaction commit/abort.
https://github.com/postgres/postgres/blob/
Hello people,
We are implementing in-memory index. As a part of that, during
index callbacks, under CurTransactionContext, we cache all the DMLs of a
transaction in dlist(postgres's doubly linked list).
We registered transaction callback, and in transaction pre-commi
Hi Munro,
Thanks for cautioning us about possible memory leaks(during error cases)
incase of long-lived DSA segements(have a look in below thread for more
details).
https://www.postgresql.org/message-id/CAEepm%3D3c4WAtSQG4tAF7Y_VCnO5cKh7KuFYZhpKbwGQOF%3DdZ4A%40mail.gmail.com
Regards
G. Sai Ram
On Wed, 20 Sep 2017 14:25:43 +0530 Thomas Munro
<thomas.mu...@enterprisedb.com> wrote
On Wed, Sep 20, 2017 at 6:14 PM, Gaddam Sai Ram
<gaddamsaira...@zohocorp.com> wrote:
> Thank you very much! That fixed my issue! :)
> I was in an assumpti
.mu...@enterprisedb.com> wrote
On Fri, Sep 15, 2017 at 7:51 PM, Gaddam Sai Ram
<gaddamsaira...@zohocorp.com> wrote:
> As i'm pinning the dsa mapping after attach, it has to stay through out
the
> backend session. But not sure why its freed/corrupted.
>
> Kindly
Kindly help me with the above thread..
Thanks
G. Sai Ram
On Fri, 15 Sep 2017 13:21:33 +0530 Gaddam Sai Ram
<gaddamsaira...@zohocorp.com> wrote
Hello everyone,
Based on the discussion in the below thread, I built a an extension using
DSA(postgres-10 beta-3,