"Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:> Shouldn't the estimated rows be 50?
It is if you do "select * from return_lots(10000000)".
regards, tom lane