Re: A performance issue with Memoize - Mailing list pgsql-hackers

From Richard Guo
Subject Re: A performance issue with Memoize
Date
Msg-id CAMbWs4_Axa6sxMx4f5jk-iiJwVio_jv8PJijDMf6-Hg2g8Cifw@mail.gmail.com
Whole thread Raw
In response to Re: A performance issue with Memoize  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers

On Fri, Oct 20, 2023 at 7:43 PM Pavel Stehule <pavel.stehule@gmail.com> wrote:
+1

it would be great to fix this problem - I've seen this issue a few times.

Thanks for the input.  I guess this is not rare in the real world.  If
the subquery contains lateral reference to a Var that also appears in
the subquery's join clauses, we'd probably suffer from this issue.

Thanks
Richard

pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: A performance issue with Memoize
Next
From: Andrei Lepikhov
Date:
Subject: Re: [PATCH] Tracking statements entry timestamp in pg_stat_statements