pgsql: Add more tests for targetlist SRFs. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Add more tests for targetlist SRFs.
Date
Msg-id E1bjbc6-0005Gz-TV@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bfe16d1a5dec0d23c917c37de646256c71e07ee8

Modified Files
--------------
src/test/regress/expected/tsrf.out | 501 +++++++++++++++++++++++++++++++++++++
src/test/regress/parallel_schedule |   2 +-
src/test/regress/serial_schedule   |   1 +
src/test/regress/sql/tsrf.sql      | 124 +++++++++
4 files changed, 627 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Docs: assorted minor cleanups.
Next
From: Andres Freund
Date:
Subject: pgsql: Address portability issues in bfe16d1a5 test output.