diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2018-03-06 21:54:37 -0500 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2018-03-06 21:54:37 -0500 |
commit | 5b804cc168a52039be02f392780b9e8c8db74412 (patch) | |
tree | 0bcfeb59b00f16afa2b7affc64effe0998956d28 /src/backend/commands/dbcommands.c | |
parent | a3739e376fbc9d6e332ce33d42426b1d8b59f20b (diff) | |
download | postgresql-5b804cc168a52039be02f392780b9e8c8db74412.tar.gz postgresql-5b804cc168a52039be02f392780b9e8c8db74412.zip |
Fix costing of parallel hash joins.
Commit 1804284042e659e7d16904e7bbb0ad546394b6a3 established that single-batch
parallel-aware hash joins could create one large shared hash table using the
combined work_mem budget of all participants. The costing accidentally
assumed that parallel-oblivious hash joins could also do that. The
documentation for initial_cost_hashjoin() also failed to mention the new
argument. Repair.
Author: Thomas Munro
Reported-By: Antonin Houska
Reviewed-By: Antonin Houska
Discussion: https://postgr.es/m/12441.1513935950%40localhost
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions