pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove redundant assignment in CreateWorkExprContext
Date: Wed, 14 Jan 2026 20:02:01 +0000
Message-ID: <E1vg744-000Tvl-25@gemulon.postgresql.org> (raw)

Remove redundant assignment in CreateWorkExprContext

In CreateWorkExprContext(), maxBlockSize is initialized to
ALLOCSET_DEFAULT_MAXSIZE, and it then immediately reassigned,
thus the initialization is a redundant.

Author: Andreas Karlsson <andreas@proxel.se>
Reported-by: Chao Li <lic@highgo.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/83a14f3c-f347-4769-9c01-30030b31f1eb@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ed425b5a200ac00488940f2354d3cf9f11091926

Modified Files
--------------
src/backend/executor/execUtils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1vg744-000Tvl-25@gemulon.postgresql.org>
Permalink:  ../E1vg744-000Tvl-25@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vg744-000Tvl-25@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove redundant assignment in CreateWorkExprContext
  In-Reply-To: <E1vg744-000Tvl-25@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