Re: Assert failure on running a completed portal again

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Yugo Nagata <nagata@sraoss.co.jp>, pgsql-hackers@postgresql.org
Date: 2024-12-11T21:45:41Z
Lists: pgsql-hackers
On Tue, Dec 10, 2024 at 4:45 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Anyway, if you feel like rewriting that stuff, step right up.
> My feeling about it is that the law of conservation of cruft
> will prevent a replacement from being all that much cleaner,
> but maybe I'm wrong.

Thanks for the thoughts. It's always good to get your perspective on
stuff like this, or at least I find it so.

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



Commits

  1. Doc: add some commentary about ExecutorRun's NoMovement special case.

  2. Simplify executor's determination of whether to use parallelism.

  3. Allow for parallel execution whenever ExecutorRun() is done only once.