Re: Don't codegen deform code for virtual tuples in expr eval for scan fetch
Soumyadeep Chakraborty <soumyadeep2007@gmail.com>
From: Soumyadeep Chakraborty <soumyadeep2007@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2019-09-28T06:01:05Z
Lists: pgsql-hackers
Attachments
- v2-0001-Reduce-code-duplication-for-ExecJust-Var-operatio.patch (application/octet-stream) patch v2-0001
- v2-0002-Don-t-generate-EEOP_-_FETCHSOME-operations-for-sl.patch (application/octet-stream) patch v2-0002
- v2-0003-Some-minor-cosmetic-changes.patch (application/octet-stream) patch v2-0003
Hey, I completely agree, that was an important consideration. I had some purely cosmetic suggestions: 1. Rename ExecComputeSlotInfo to eliminate the need for the asserts. 2. Extract return value to a bool variable for slightly better readability. 3. Taking the opportunity to use TTS_IS_VIRTUAL. v2 of patch set attached. The first two patches are unchanged, the cosmetic changes are part of v2-0003-Some-minor-cosmetic-changes.patch. -- Soumyadeep
Commits
-
Don't generate EEOP_*_FETCHSOME operations for slots know to be virtual.
- 36d22dd95bc8 13.0 landed
-
Reduce code duplication for ExecJust*Var operations.
- 34c9c53bb035 13.0 landed