aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/misc.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2021-04-02 15:25:38 +1300
committerDavid Rowley <drowley@postgresql.org>2021-04-02 15:25:38 +1300
commita4fac4ffe8f8d543a10ac7debf1157e34963ece3 (patch)
treea068d393e42d3bdf5c4728330e2c7c2558a58871 /src/backend/utils/adt/misc.c
parent2bda93f813919b58225f5a0e282e10b98d7633d4 (diff)
downloadpostgresql-a4fac4ffe8f8d543a10ac7debf1157e34963ece3.tar.gz
postgresql-a4fac4ffe8f8d543a10ac7debf1157e34963ece3.zip
Attempt to fix unstable Result Cache regression tests
force_parallel_mode = regress is causing a few more problems than I thought. It seems that both the leader and the single worker can contribute to the execution. I had mistakenly thought that only the worker process would do any work. Since it's not deterministic as to which of the two processes will get a chance to work on the plan, it seems just better to disable force_parallel_mode for these tests. At least doing this seems better than changing to EXPLAIN only rather than EXPLAIN ANALYZE. Additionally, I overlooked the fact that the number of executions of the sub-plan below a Result Cache will execute a varying number of times depending on cache eviction. 32-bit machines will use less memory and evict fewer tuples from the cache. That results in the subnode being executed fewer times on 32-bit machines. Let's just blank out the number of loops in each node.
Diffstat (limited to 'src/backend/utils/adt/misc.c')
0 files changed, 0 insertions, 0 deletions