From: | Andrei Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru> |
---|---|
To: | Tender Wang <tndrwang(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: "type with xxxx does not exist" when doing ExecMemoize() |
Date: | 2024-02-26 02:52:59 |
Message-ID: | d3da9856-0394-48e6-9f41-543c589e9585@postgrespro.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs 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
From | Date | Subject | |
---|---|---|---|
Next Message | Andrei Lepikhov | 2024-02-26 05:38:09 | Re: "type with xxxx does not exist" when doing ExecMemoize() |
Previous Message | Tom Lane | 2024-02-25 23:59:37 | Re: BUG #18362: unaccent rules and Old Greek text |
From | Date | Subject | |
---|---|---|---|
Next Message | shveta malik | 2024-02-26 03:43:05 | Re: Synchronizing slots from primary to standby |
Previous Message | Zhijie Hou (Fujitsu) | 2024-02-26 02:18:58 | RE: Synchronizing slots from primary to standby |