Dhanaraj M <Dhanaraj(dot)M(at)Sun(dot)COM> writes:
> I attach the patch for the following TODO item.
> SQL COMMAND
> * Change LIMIT/OFFSET to use int8
This can't possibly be correct. It doesn't even change the field types
in struct LimitState, for example. You've missed half a dozen places
in the planner that would need work, too.
regards, tom lane