<dev(at)archonet(dot)com> writes:
> Would it be possible to have some sort of configurable limit on this:
> max_result_set_size = 10,000,000
> max_result_set_action = ignore | debug | warn | error
> The planner knows how many rows it's expecting to return,
Personally, I would never trust the planner's estimate far enough
to use it as the basis for triggering an error ;-)
regards, tom lane