Add a little more smarts to estimate_hash_bucketsize(): if there's no
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Oct 2003 22:44:25 +0000 (22:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Oct 2003 22:44:25 +0000 (22:44 +0000)
commita1dcd8f6dd80cfa3e2670d5f1f09fc7eec5d6e53
treeb4cc54aa7d865e36426ac04119bcc03a8e81eb73
parent22347dc10221f5f308dda2f858d5b43d71c9b2d5
Add a little more smarts to estimate_hash_bucketsize(): if there's no
statistics, but there is a unique index on the column, we can safely
assume it's well-distributed.
src/backend/optimizer/path/costsize.c