Add proper regression test for the recent SRFs-in-pathkeys problem.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Aug 2022 15:11:22 +0000 (11:11 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Aug 2022 15:11:22 +0000 (11:11 -0400)
commit1a9ac84923b8530ca18d497b3ccc40965c01b66b
treef9f2601790939967b863743f325d53d1038788f1
parent120e159b7d93fa36b94ded8a51fe4e619e1261ca
Add proper regression test for the recent SRFs-in-pathkeys problem.

Remove the test case added by commit fac1b470a, which never actually
worked to expose the problem it claimed to test.  Replace it with
a case that does expose the problem, and also covers the SRF-not-
at-the-top deficiency repaired in 1aa8dad41.

Richard Guo, with some editorialization by me

Discussion: http://postgr.es/m/17564-c7472c2f90ef2da3@postgresql.org
src/test/regress/expected/incremental_sort.out
src/test/regress/expected/select_parallel.out
src/test/regress/sql/incremental_sort.sql
src/test/regress/sql/select_parallel.sql