Re: Assert failure on running a completed portal again

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Assert failure on running a completed portal again
Date: 2024-12-10 18:48:54
Message-ID: CA+TgmobB=pqCuJgQa5-QC9peWiOOpO18+KtB0p+O366XdyqYDw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Dec 10, 2024 at 1:37 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2024-12-10 18:52:53 Re: Document NULL
Previous Message Euler Taveira 2024-12-10 18:41:08 Separate GUC for replication origins