Re: BUG #15577: Query returns different results when executed multiple times
Thomas Munro <thomas.munro@enterprisedb.com>
From: Thomas Munro <thomas.munro@enterprisedb.com>
To: Bartosz Polnik <bartoszpolnik@gmail.com>
Cc: David Rowley <david.rowley@2ndquadrant.com>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2019-01-07T19:59:18Z
Lists: pgsql-bugs
On Tue, Jan 8, 2019 at 1:56 AM Bartosz Polnik <bartoszpolnik@gmail.com> wrote: > I've modified the script: > 1. I Added SET force_parallel_mode = on;: What if you try that with your original query in the database that shows the problem? Or alternatively SET parallel_leader_participation = on. What I'm wondering is whether the parallel worker is consistently getting the same result, but it's a different result from the leader, and the variation comes from the race between leader and worker, or whether the instability comes from somewhere else. -- Thomas Munro http://www.enterprisedb.com
Commits
-
Avoid sharing PARAM_EXEC slots between different levels of NestLoop.
- 2977a312df71 10.7 landed
- 05eb923eae46 11.2 landed
- 1db5667bac63 12.0 landed
- 4f80974990dc 9.6.12 landed