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.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3c8de95979008d67713429d858957c5c78c23d75
Modified Files
--------------
src/test/regress/expected/limit.out | 179 ++++++++++++++++++++++++++++++++++++
src/test/regress/sql/limit.sql | 42 +++++++++
2 files changed, 221 insertions(+)