]> granicus.if.org Git - postgresql/commit
Add regression tests exercising more code paths in nodeLimit.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Aug 2017 21:27:54 +0000 (17:27 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Aug 2017 21:28:01 +0000 (17:28 -0400)
commit3c8de95979008d67713429d858957c5c78c23d75
tree3478407b4ab5daf3ea8b591eb9e468a04e9eac9b
parent6efca23cc039b6a0b25d2ebf4a22ab7363d17fcf
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.
src/test/regress/expected/limit.out
src/test/regress/sql/limit.sql