Don't generate tuple deforming functions for virtual slots.

Andres Freund <andres@anarazel.de>

Commit: 7ef04e4d2cb287e4e28b87f24b4b36ef4e07530b
Author: Andres Freund <andres@anarazel.de>
Date: 2018-11-16T06:00:30Z
Releases: 12.0
Don't generate tuple deforming functions for virtual slots.

Virtual tuple table slots never need tuple deforming. Therefore, if we
know at expression compilation time, that a certain slot will always
be virtual, there's no need to create a tuple deforming routine for
it.

Author: Andres Freund
Discussion: https://postgr.es/m/20181105210039.hh4vvi4vwoq5ba2q@alap3.anarazel.de

Files

Discussion