Planner failed to be smart about binary-compatible expressions in pathkeys
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Dec 2003 17:45:38 +0000 (17:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Dec 2003 17:45:38 +0000 (17:45 +0000)
commit67d97d49ed4ab09f4847d9440d8450f66792380d
tree318f2c030a69ec03370ab5dfd68be9aac779f2d8
parent40ec77f57683aa9e834f33f659e1df6852cf332e
Planner failed to be smart about binary-compatible expressions in pathkeys
and hash bucket-size estimation.  Issue has been there awhile but is more
critical in 7.4 because it affects varchar columns.  Per report from
Greg Stark.
src/backend/optimizer/path/costsize.c
src/backend/optimizer/path/pathkeys.c
src/backend/utils/cache/lsyscache.c
src/include/utils/lsyscache.h