pgsql: Add more tests for targetlist SRFs.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add more tests for targetlist SRFs.
Date: 2016-09-13 00:30:14
Message-ID: E1bjbc6-0005Gz-TV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)zo2dfb5jaikii5nw(at)alap3(dot)anarazel(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2016-09-13 01:16:47 pgsql: Address portability issues in bfe16d1a5 test output.
Previous Message Tom Lane 2016-09-12 23:19:52 pgsql: Docs: assorted minor cleanups.