Re: Assert failure on running a completed portal again - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Assert failure on running a completed portal again
Date
Msg-id CA+TgmobB=pqCuJgQa5-QC9peWiOOpO18+KtB0p+O366XdyqYDw@mail.gmail.com
Whole thread Raw
In response to Re: Assert failure on running a completed portal again  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Assert failure on running a completed portal again
List pgsql-hackers
On Tue, Dec 10, 2024 at 1:37 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> And ExecutorRun skips ExecutePlan if direction is
> NoMovementScanDirection.  So unless there are gaps in pquery.c's EOF
> checks, I think we're OK: the "re-execution" call will not reach
> ExecutePlan.  This could probably do with more commentary though.

Thanks for the research, and +1 if you feel like adding more commentary.

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Assert failure on running a completed portal again
Next
From: Jeff Davis
Date:
Subject: Re: Document NULL