Reduce code duplication for ExecJust*Var operations.
authorAndres Freund <andres@anarazel.de>
Mon, 30 Sep 2019 22:00:21 +0000 (15:00 -0700)
committerAndres Freund <andres@anarazel.de>
Mon, 30 Sep 2019 22:32:00 +0000 (15:32 -0700)
commit34c9c53bb035ba92491006eb80f7a60527db367d
tree4e49c23f000ab32e5b2b9b814be90a893d67c4c8
parentd52eaa094847d395f942827a6f413904e516994c
Reduce code duplication for ExecJust*Var operations.

This is mainly in preparation for adding further fastpath evaluation
routines.

Also reorder ExecJust*Var functions to be consistent with the order in
which they're used.

Author: Andres Freund
Discussion: https://postgr.es/m/CAE-ML+9OKSN71+mHtfMD-L24oDp8dGTfaVjDU6U+j+FNAW5kRQ@mail.gmail.com
src/backend/executor/execExprInterp.c