]> granicus.if.org Git - postgresql/commit
Fix ExecReScanGatherMerge.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 17 Aug 2017 17:49:22 +0000 (13:49 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 17 Aug 2017 17:49:22 +0000 (13:49 -0400)
commita2b70c89ca1a5fcf6181d3c777d82e7b83d2de1b
treeb844c4cbeb30acb7e2204f6c0d035bbf41f7b722
parentb5178c5d08ca59e30f9d9428fa6fdb2741794e65
Fix ExecReScanGatherMerge.

Not surprisingly, since it'd never ever been tested, ExecReScanGatherMerge
didn't work.  Fix it, and add a regression test case to exercise it.

Amit Kapila

Discussion: https://postgr.es/m/CAA4eK1JkByysFJNh9M349u_nNjqETuEnY_y1VUc_kJiU0bxtaQ@mail.gmail.com
src/backend/executor/nodeGatherMerge.c
src/test/regress/expected/select_parallel.out
src/test/regress/sql/select_parallel.sql