Re: "type with xxxx does not exist" when doing ExecMemoize() - Mailing list pgsql-hackers

From Andrei Lepikhov
Subject Re: "type with xxxx does not exist" when doing ExecMemoize()
Date
Msg-id d3da9856-0394-48e6-9f41-543c589e9585@postgrespro.ru
Whole thread Raw
In response to "type with xxxx does not exist" when doing ExecMemoize()  (Tender Wang <tndrwang@gmail.com>)
Responses Re: "type with xxxx does not exist" when doing ExecMemoize()
List pgsql-hackers
On 25/2/2024 20:32, Tender Wang wrote:
> I think in prepare_probe_slot(), should called datumCopy as the attached 
> patch does.
> 
> Any thoughts? Thanks.
Thanks for the report.
I think it is better to invent a Runtime Memory Context; likewise, it is 
already designed in IndexScan and derivatives. Here, you just allocate 
the value in some upper memory context.
Also, I'm curious why such a trivial error hasn't been found for a long time

-- 
regards,
Andrei Lepikhov
Postgres Professional




pgsql-hackers by date:

Previous
From: "Zhijie Hou (Fujitsu)"
Date:
Subject: RE: Synchronizing slots from primary to standby
Next
From: shveta malik
Date:
Subject: Re: Synchronizing slots from primary to standby