Обсуждение: pgsql: Add proper regression test for the recent SRFs-in-pathkeys probl

Поиск
Список
Период
Сортировка

pgsql: Add proper regression test for the recent SRFs-in-pathkeys probl

От
Tom Lane
Дата:
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: https://postgr.es/m/17564-c7472c2f90ef2da3@postgresql.org

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/11e7d626cee43cf1eb5dd214ef001dfba38ea2a3

Modified Files
--------------
src/test/regress/expected/incremental_sort.out | 12 ------------
src/test/regress/expected/select_parallel.out  | 24 ++++++++++++++++++++++++
src/test/regress/sql/incremental_sort.sql      |  2 --
src/test/regress/sql/select_parallel.sql       |  6 ++++++
4 files changed, 30 insertions(+), 14 deletions(-)