Re: XX000: unknown type of jsonb container.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: "Poot, Bas (B.J.)" <bas.poot@politie.nl>,
"pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2021-05-31T00:59:28Z
Lists: pgsql-bugs
Attachments
- remove-redundant-ProjectionPath-2.patch (text/x-diff) patch
I wrote: > I'm not sure about creating a test case. The case reported here is > far too expensive to use in the regression tests. Ah, we can do it in select_parallel, which reduces all the parallel costs to zero to favor these sorts of plans. This test case only fails back to v13, as does the original example. I suspect we should back-patch the code change further though, since create_projection_plan will be just as confused by such cases in earlier branches. regards, tom lane
Commits
-
Fix mis-planning of repeated application of a projection.
- fe6f63286a00 13.4 landed
- fe194f731fbf 11.13 landed
- 6f9e7f21fd32 12.8 landed
- 6ee41a301e70 14.0 landed