Re: Remove redundant assignment in CreateWorkExprContext - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Remove redundant assignment in CreateWorkExprContext
Date
Msg-id 500d1ee81726b55c5482ac33f1334b6b59af2138.camel@j-davis.com
Whole thread Raw
In response to Re: Remove redundant assignment in CreateWorkExprContext  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Remove redundant assignment in CreateWorkExprContext
List pgsql-hackers
On Wed, 2026-01-14 at 02:33 -0500, Tom Lane wrote:
> Looking at the git history, CreateWorkExprContext was introduced in
> 50a38f651, and at that time it did some nontrivial calculations
> to adjust that initial value of maxBlockSize.  Later, cc721c459
> simplified matters but forgot to remove the now-useless
> initialization.  So +1, unless Jeff has some reason to keep it
> like this?

Right. Committed, thank you.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Use CASEFOLD() internally rather than LOWER()
Next
From: Jacob Champion
Date:
Subject: Re: libpq: Bump protocol version to version 3.2 at least until the first/second beta