aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-04-18 05:43:02 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-04-18 05:43:02 +0000
commit25442d8d2fd35389813062f523488821f4fc31d4 (patch)
treed58f9ec0b5a7d3074c222008a9d58d5c35db5251 /src/backend/tcop/postgres.c
parent24864d048eec2c579346eb31a42c87be1c92644e (diff)
downloadpostgresql-25442d8d2fd35389813062f523488821f4fc31d4.tar.gz
postgresql-25442d8d2fd35389813062f523488821f4fc31d4.zip
Correct oversight in hashjoin cost estimation: nodeHash sizes its hash
table for an average of NTUP_PER_BUCKET tuples/bucket, but cost_hashjoin was assuming a target load of one tuple/bucket. This was causing a noticeable underestimate of hashjoin costs.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions