aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-06-01 15:58:09 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-06-01 15:58:09 +0000
commit38bbcb3888d8d93dfc369fbbac49888860596010 (patch)
tree18deb70ac768ef7925b8dc008b96877ab8ee80f3 /src/tutorial/funcs.c
parent4c2158bf0c309099c1d185405b3d10d41708eb2e (diff)
downloadpostgresql-38bbcb3888d8d93dfc369fbbac49888860596010.tar.gz
postgresql-38bbcb3888d8d93dfc369fbbac49888860596010.zip
Fix performance problems in multi-batch hash joins by ensuring that we select
a well-randomized batch number even when given a poorly-randomized hash value. This is a bit inefficient but seems the only practical solution given the constraint that we can't change the hash functions in released branches. Per report from Joseph Shraibman. Applied to 8.1 and 8.2 only --- HEAD is getting a cleaner fix, and 8.0 and before use different coding that seems less vulnerable.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions