Re: BUG #17158: Distinct ROW fails with Postgres 14 - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #17158: Distinct ROW fails with Postgres 14
Date
Msg-id 2f0f926d-23c9-2ded-4032-dee85be733dc@enterprisedb.com
Whole thread Raw
In response to Re: BUG #17158: Distinct ROW fails with Postgres 14  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #17158: Distinct ROW fails with Postgres 14  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On 10.09.21 21:27, Tom Lane wrote:
> Perhaps it'd work to put the phony entry into fcinfo->flinfo->fn_mcxt
> instead of CacheMemoryContext.
> 
> BTW, skink's failure can be reproduced pretty quickly by running the
> attached under valgrind.

Ok, the attached patch fixes the valgrind error.

Attachment

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17193: Issue with pg_output login
Next
From: Tom Lane
Date:
Subject: Re: BUG #17158: Distinct ROW fails with Postgres 14