public inbox for [email protected]  
help / color / mirror / Atom feed
From: Richard Guo <[email protected]>
To: Pavel Stehule <[email protected]>
Cc: PostgreSQL-development <[email protected]>
Cc: David Rowley <[email protected]>
Cc: Tom Lane <[email protected]>
Subject: Re: A performance issue with Memoize
Date: Wed, 25 Oct 2023 14:45:59 +0800
Message-ID: <CAMbWs4_Axa6sxMx4f5jk-iiJwVio_jv8PJijDMf6-Hg2g8Cifw@mail.gmail.com> (raw)
In-Reply-To: <CAFj8pRAGeGxuU2H_rPhYuBTtkjVoWODmWaKzKqYjpVxM5vKmvA@mail.gmail.com>
References: <CAMbWs48XHJEK1Q1CzAQ7L9sTANTs9W1cepXu8=Kc0quUL+tg4Q@mail.gmail.com>
	<CAFj8pRAGeGxuU2H_rPhYuBTtkjVoWODmWaKzKqYjpVxM5vKmvA@mail.gmail.com>

On Fri, Oct 20, 2023 at 7:43 PM Pavel Stehule <[email protected]>
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


view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: A performance issue with Memoize
  In-Reply-To: <CAMbWs4_Axa6sxMx4f5jk-iiJwVio_jv8PJijDMf6-Hg2g8Cifw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox