On Thu, Jan 8, 2026 at 11:31 AM Lukas Fittl <[email protected]> wrote: > Yeah, I would agree with you that is inconsistent with the flag's name > - but on the flip side, its difficult for the caller to conditionally > set the flag (which you'd have to do to avoid a "Disabled" showing in > the plan), since we're setting it on the RelOptInfo (do we know if the > scan is a sample scan at that point?).
How about checking rte->tablesample, as set_rel_pathlist does? -- Robert Haas EDB: http://www.enterprisedb.com
