On Wed, Aug 23, 2017 at 11:58 PM, Thomas Munro
<thomas.mu...@enterprisedb.com> wrote:
> On Wed, Aug 23, 2017 at 5:46 PM, Andres Freund <and...@anarazel.de> wrote:
>> - Afaict GetSessionDsmHandle() uses the current rather than
>>   TopMemoryContext. Try running the regression tests under
>>   force_parallel_mode - crashes immediately for me without fixing that.
>
> Gah, right.  Fixed.

That version missed an early return case where dsm_create failed.
Here's a version that restores the caller's memory context in that
case too.

-- 
Thomas Munro
http://www.enterprisedb.com

Attachment: shared-record-typmods-v8.patchset.tgz
Description: GNU Zip compressed data

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to