Re: A potential memory leak on Merge Join when Sort node is not below Materialize node - Mailing list pgsql-hackers

From Önder Kalacı
Subject Re: A potential memory leak on Merge Join when Sort node is not below Materialize node
Date
Msg-id CACawEhWEy_gnZuL7WU=SgHCuJELGR+jx8=C7LJwpcFJ5OTLT0A@mail.gmail.com
Whole thread Raw
In response to Re: A potential memory leak on Merge Join when Sort node is not below Materialize node  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
Hi David, Tom, all,


I've just pushed the disable byref Datums patch I posted earlier. I
only made a small adjustment to make use of the TupleDescAttr() macro.
Önder, thank you for the report.


With this commit, I re-run the query patterns where we observed the problem, all looks good now. Wanted to share this information as fyi.

Thanks for the quick turnaround!

Onder KALACI


pgsql-hackers by date:

Previous
From: Önder Kalacı
Date:
Subject: Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher
Next
From: Nathan Bossart
Date:
Subject: Re: Use pg_pwritev_with_retry() instead of write() in dir_open_for_write() to avoid partial writes?