From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: expression eval: Don't redundantly keep track of AggState.
Date: Fri, 07 Feb 2020 04:05:27 +0000
Message-ID: <E1izutT-0007xo-Bq@gemulon.postgresql.org> (raw)
expression eval: Don't redundantly keep track of AggState.
It's already tracked via ExprState->parent, so we don't need to also
include it in ExprEvalStep. When that code originally was written
ExprState->parent didn't exist, but it since has been introduced in
6719b238e8f.
Author: Andres Freund
Discussion: https://postgr.es/m/20191023163849.sosqbfs5yenocez3@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1fdb7f9789c4550204cd62d1746a7deed1dc4c29
Modified Files
--------------
src/backend/executor/execExpr.c | 5 -----
src/backend/executor/execExprInterp.c | 17 +++++++----------
src/backend/jit/llvm/llvmjit_expr.c | 23 ++++++++++++-----------
src/include/executor/execExpr.h | 5 -----
src/include/nodes/execnodes.h | 1 +
5 files changed, 20 insertions(+), 31 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: expression eval: Don't redundantly keep track of AggState.
In-Reply-To: <E1izutT-0007xo-Bq@gemulon.postgresql.org>
References: <E1izutT-0007xo-Bq@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox