From: Andrei Lepikhov <lepihov@gmail.com>
To: pgsql-bugs@lists.postgresql.org
Cc: Richard Guo <guofenglinux@gmail.com>
Subject: Memoize in between of two JOIN nodes
Date: Thu, 6 Mar 2025 12:17:22 +0100
Message-ID: <531bcdbc-e734-4db8-b1d1-18af8bdf9eab@gmail.com> (raw)
Playing with memoisation, I found the case where the Memoize is put over
a JOIN node (see attachment).
I recall a discussion we had with Richard in which he mentioned [1] that
this feature is still not implemented and is hard to design.
I'm not sure, but may it be a sign of a potential bug?
[1]
https://www.postgresql.org/message-id/CAMbWs4_CQR9ikyAhjH0CwzCdp%2BFcRAeoVsi5Oohd7s%3Dc5RZABg%40mail...
--
regards, Andrei Lepikhov
Attachments:
reproduction.sql (application/sql, 1.8K) download
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: pgsql-bugs@postgresql.org
Cc: lepihov@gmail.com, pgsql-bugs@lists.postgresql.org, guofenglinux@gmail.com
Subject: Re: Memoize in between of two JOIN nodes
In-Reply-To: <531bcdbc-e734-4db8-b1d1-18af8bdf9eab@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox