Re-implement LIMIT/OFFSET as a plan node type, instead of a hack in
Tom Lane <tgl@sss.pgh.pa.us>
Re-implement LIMIT/OFFSET as a plan node type, instead of a hack in ExecutorRun. This allows LIMIT to work in a view. Also, LIMIT in a cursor declaration will behave in a reasonable fashion, whereas before it was overridden by the FETCH count.