Taras
2011-04-01 05:52:28 UTC
Hi,
I am currently testing the last part of the assignment, and once again I
see some odd behavior sometimes. I insert the Sort node after Sequential
scan based on the pathkeys (index scan, tid scan, unordered sequential
scan are all deleted for this), and when the optimizer chooses to do a
merge join on the two relations, it does not seem to recognize that the
single relation plans already produce tuples in needed order - so I see
a Sort node inserted twice in a row in the plan. Does anyone have any
clue to what might be wrong here?
Thanks,
Taras
I am currently testing the last part of the assignment, and once again I
see some odd behavior sometimes. I insert the Sort node after Sequential
scan based on the pathkeys (index scan, tid scan, unordered sequential
scan are all deleted for this), and when the optimizer chooses to do a
merge join on the two relations, it does not seem to recognize that the
single relation plans already produce tuples in needed order - so I see
a Sort node inserted twice in a row in the plan. Does anyone have any
clue to what might be wrong here?
Thanks,
Taras