pgsql: expression eval, jit: Minor code cleanups.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: expression eval, jit: Minor code cleanups.
Date: 2020-02-07 04:05:27
Message-ID: E1izutT-0007xn-BQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

expression eval, jit: Minor code cleanups.

This mostly consists of using C99 style for loops, moving variables
into narrower scopes, and a smattering of other minor improvements.
Done separately to make it easier to review patches with actual
functional changes.

Author: Andres Freund
Discussion: https://postgr.es/m/20191023163849.sosqbfs5yenocez3@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1ec7679f1b67e84be688a311dce234eeaa1d5de8

Modified Files
--------------
src/backend/executor/execExpr.c | 40 ++--
src/backend/executor/execExprInterp.c | 80 +++-----
src/backend/jit/llvm/llvmjit_expr.c | 377 +++++++++++++++++-----------------
3 files changed, 240 insertions(+), 257 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2020-02-07 04:44:35 pgsql: Introduce TupleHashTableHash() and LookupTupleHashEntryHash().
Previous Message Michael Paquier 2020-02-07 03:42:31 pgsql: Fix typo in proc.c