]> granicus.if.org Git - postgresql/commit
Add more tests for targetlist SRFs.
authorAndres Freund <andres@anarazel.de>
Thu, 4 Aug 2016 01:29:42 +0000 (18:29 -0700)
committerAndres Freund <andres@anarazel.de>
Tue, 13 Sep 2016 00:27:47 +0000 (17:27 -0700)
commitbfe16d1a5dec0d23c917c37de646256c71e07ee8
tree6b12a40e7b4fe26a529088ccf6adb613d4d33b9b
parent42fd984c0b7b53d1bc961c9ed6bb84fe28eae52b
Add more tests for targetlist SRFs.

We're considering changing the implementation of targetlist SRFs
considerably, and a lot of the current behaviour isn't tested in our
regression tests. Thus it seems useful to increase coverage to avoid
accidental behaviour changes.

It's quite possible that some of the plans here will require adjustments
to avoid falling afoul of ordering differences (e.g. hashed group
bys). The buildfarm will tell us.

Reviewed-By: Tom Lane
Discussion: <20160827214829.zo2dfb5jaikii5nw@alap3.anarazel.de>
src/test/regress/expected/tsrf.out [new file with mode: 0644]
src/test/regress/parallel_schedule
src/test/regress/serial_schedule
src/test/regress/sql/tsrf.sql [new file with mode: 0644]