On 6/7/23 07:58, Daniel Verite wrote: > Thomas Munro wrote: > >> > > Also, it does not occur at all if parallel scan is disabled. >> > >> > Could this be a clue that it is failing to be transitive? >> >> That vaguely rang a bell for me... and then I remembered this thread: >> >> https://www.postgresql.org/message-id/flat/20191206063401.GB1629883%40rfd.leadboat.com > > Thanks for the pointer, non-transitive comparisons seem a likely cause > indeed.
Just to make sure we are all seeing the same problem, does the attached patch fix your test?