Remove unused fields from ExprEvalStep
authorDavid Rowley <drowley@postgresql.org>
Tue, 2 Aug 2022 21:46:02 +0000 (09:46 +1200)
committerDavid Rowley <drowley@postgresql.org>
Tue, 2 Aug 2022 21:46:02 +0000 (09:46 +1200)
These were added recently by 1349d2790.

Reported-by: Zhihong Yu
Discussion: https://postgr.es/m/CALNJ-vTi+YDuAWKp4Z_Dv=mrz=aq81qTg0D7wzc8y7rS_+i_cw@mail.gmail.com

src/include/executor/execExpr.h

index 0739b389f3c705660fd7e5b098228e716c166336..c8ef917ffe0178cfd8dafa7cb434c6f81fa64740 100644 (file)
@@ -666,9 +666,6 @@ typedef struct ExprEvalStep
        {
            AggStatePerTrans pertrans;
            ExprContext *aggcontext;
-           int         setno;
-           int         transno;
-           int         setoff;
            int         jumpdistinct;
        }           agg_presorted_distinctcheck;