Do honest transformation and preprocessing of LIMIT/OFFSET clauses,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b89140a7eccd0247fa910346da79e701d78a8152
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-07-03T19:07:54Z
Releases: 7.4.1
Do honest transformation and preprocessing of LIMIT/OFFSET clauses,
instead of the former kluge whereby gram.y emitted already-transformed
expressions.  This is needed so that Params appearing in these clauses
actually work correctly.  I suppose some might claim that the side effect
of 'SELECT ... LIMIT 2+2' working is a new feature, but I say this is
a bug fix.

Files