Re: Converting SetOp to read its two inputs separately

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: Richard Guo <guofenglinux(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Converting SetOp to read its two inputs separately
Date: 2024-12-19 02:44:02
Message-ID: 3031502.1734576242@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

With David's recent fixes to allow telling BuildTupleHashTableExt
what input slot type to expect, it's possible to remove the per-row
slot type conversions I was doing before. So here's an updated
patchset with that done.

The common_result_slot_type() function I wrote here perhaps
should be made generally available, but I didn't do that yet.

0002-0005 are the same as before.

regards, tom lane

Attachment Content-Type Size
v4-0001-Convert-SetOp-to-read-its-inputs-as-outerPlan-and.patch text/x-diff 70.5 KB
v4-0002-Remove-some-dead-code-in-prepunion.c.patch text/x-diff 12.5 KB
v4-0003-Get-rid-of-choose_hashed_setop.patch text/x-diff 16.9 KB
v4-0004-Fix-bogus-decisions-about-whether-we-want-pre-sor.patch text/x-diff 12.4 KB
v4-0005-Teach-generate_nonunion_paths-to-consider-pre-sor.patch text/x-diff 11.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Guo 2024-12-19 02:50:31 Re: Can rs_cindex be < 0 for bitmap heap scans?
Previous Message Michael Paquier 2024-12-19 02:41:14 Re: Crash: invalid DSA memory alloc request