public inbox for [email protected]  
help / color / mirror / Atom feed
From: Aditya Gollamudi <[email protected]>
To: cca5507 <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: Minor refactor of the code in ExecScanExtended()
Date: Sun, 18 Jan 2026 20:50:41 -0800
Message-ID: <CAD-KL_G5Z_NbEkJcZhZu+ccWn39R9Sg9Zi3FZoKN_fRdNWDGnA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Sun, Jan 18, 2026 at 7:31 PM cca5507 <[email protected]> wrote:

> Hi,
>
> The current code:
>
> if (!qual && !projInfo)
> {
> ResetExprContext(econtext);
> return ExecScanFetch(node, epqstate, accessMtd, recheckMtd);
> }
>
> ResetExprContext(econtext);
>
> The following format might be simpler:
>
> ResetExprContext(econtext);
>
> if (!qual && !projInfo)
> return ExecScanFetch(node, epqstate, accessMtd, recheckMtd);
>
> Attach a patch to do this.
>
> --
> Regards,
> ChangAo Chen
>
> Hi,

+1, seems like a simple refactor.
Tests are passing locally for me!

- Adi Gollamudi


view thread (2+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Minor refactor of the code in ExecScanExtended()
  In-Reply-To: <CAD-KL_G5Z_NbEkJcZhZu+ccWn39R9Sg9Zi3FZoKN_fRdNWDGnA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox