forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit08cdb07
committed
Optimize grouping equality checks with virtual slots
8f4ee96 fixed an old Assert failure that could happen when the slottype used to look up the hash table for BuildTupleHashTableExt() userswasn't a TTSOpsMinimalTuple slot. The fix for that in the back brancheshad to be to pass the TupleTableSlotOps as NULL, however in master,since we have the inputOps parameter as was added byd96d1d5, we canpass that down instead.At least one caller uses a fixed slot that's always TTSOpsVirtual, sopassing down inputOps for these cases allows ExecBuildGroupingEqual() toskip adding the EEOP_INNER_FETCHSOME ExprEvalStep.This should increase the performance of hashed subplans very slightly.Author: Tom Lane, David RowleyDiscussion:https://postgr.es/m/2543667.1734483723@sss.pgh.pa.us1 parent8f4ee96 commit08cdb07
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
237 | 237 |
| |
238 | 238 |
| |
239 | 239 |
| |
240 |
| - | |
| 240 | + | |
| 241 | + | |
241 | 242 |
| |
242 | 243 |
| |
243 | 244 |
| |
|
0 commit comments
Comments
(0)