Add regression tests exercising more code paths in nodeLimit.c.
Tom Lane <tgl@sss.pgh.pa.us>
Add regression tests exercising more code paths in nodeLimit.c. Perusal of the code coverage report shows that the existing regression test cases for LIMIT/OFFSET don't exercise the nodeLimit code paths involving backwards scan, empty results, or null values of LIMIT/OFFSET. Improve the coverage.
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/limit.out | modified | +179 −0 |
| src/test/regress/sql/limit.sql | modified | +42 −0 |