mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-30 04:27:19 +02:00
If a Gather node has read as many tuples as it needs (for example, due
to Limit) it may detach the queue connecting it to the worker before
reading all of the worker's tuples. Rather than let the worker
continue to generate and send all of the results, have it stop after
sending the next tuple.
More could be done here to stop the worker even quicker, but this is
about as well as we can hope to do for 9.6.
This is in response to a problem report from Andreas Seltenreich.
Commit
|
||
---|---|---|
.. | ||
dest.c | ||
fastpath.c | ||
Makefile | ||
postgres.c | ||
pquery.c | ||
utility.c |