Re: pg_plan_advice

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Lukas Fittl <lukas(at)fittl(dot)com>, Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>, Dian Fay <di(at)nmfay(dot)com>, Matheus Alcantara <matheusssilv97(at)gmail(dot)com>, Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_plan_advice
Date: 2026-01-28 23:40:49
Message-ID: CAN4CZFPvwjNJEZ_JT9Y67yR7C=KMNa=LNefOB8ZY7TKDcmAXOA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

Just noticed this in the committed patch, it doesn't seem intentional:
(the last line wasn't part of the patch, probably an accidental leftover)

src/backend/optimizer/ptah/costsize.c:1462

if (path->parallel_workers == 0)
enable_mask |= PGS_CONSIDER_NONPARTIAL;
path->disabled_nodes =
(baserel->pgs_mask & enable_mask) != enable_mask ? 1 : 0;
path->disabled_nodes = 0;

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2026-01-28 23:48:41 Docs: Use non-default throughout the documentation
Previous Message David G. Johnston 2026-01-28 23:34:21 Re: Document NULL