pgsql: Reduce code duplication for ExecJust*Var operations.

Started by Andres Freundalmost 7 years ago1 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

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: /messages/by-id/CAE-ML+9OKSN71+mHtfMD-L24oDp8dGTfaVjDU6U+j+FNAW5kRQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/34c9c53bb035ba92491006eb80f7a60527db367d

Modified Files
--------------
src/backend/executor/execExprInterp.c | 94 +++++++++++++----------------------
1 file changed, 35 insertions(+), 59 deletions(-)