]> granicus.if.org Git - postgresql/commit
Attempt to fix broken regression test.
authorRobert Haas <rhaas@postgresql.org>
Fri, 17 Jun 2016 12:35:47 +0000 (08:35 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 17 Jun 2016 12:35:47 +0000 (08:35 -0400)
commit103512cee95b5bd0feb83c225eeff61c58874413
tree79ddf70b7c5f9be9958cda3d0a8361b341950c72
parent4c56f3269a84a81461cc53941e0eee02fc920ab6
Attempt to fix broken regression test.

In commit 8c1d9d56e9a00680a035b8b333a98ea16b121eb7, I attempted to
add a regression test that would fail if the target list was pushed
into a parallel worker, but due to brain fade on my part, it just
randomly fails whether anything bad or not, because the error check
inside the parallel_restricted() function tests whether there is
*any process in the system* that is not connected to a client, not
whether the process running the query is not connected to a client.

A little experimentation has left me pessimistic about the
prospects of doing better here in a short amount of time, so let's
just fall back to checking that the plan is as we expect and leave
the execution-time check for another day.
src/test/regress/expected/select_parallel.out
src/test/regress/sql/select_parallel.sql