1996-10-27 04:55:05 -05:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# Makefile--
|
|
|
|
|
# Makefile for executor
|
|
|
|
|
#
|
|
|
|
|
# IDENTIFICATION
|
2010-09-20 16:08:53 -04:00
|
|
|
# src/backend/executor/Makefile
|
1996-10-27 04:55:05 -05:00
|
|
|
#
|
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
2000-08-31 12:12:35 -04:00
|
|
|
subdir = src/backend/executor
|
|
|
|
|
top_builddir = ../../..
|
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
1996-10-27 04:55:05 -05:00
|
|
|
|
2015-04-24 02:33:23 -04:00
|
|
|
OBJS = execAmi.o execCurrent.o execGrouping.o execIndexing.o execJunk.o \
|
2015-09-28 21:55:57 -04:00
|
|
|
execMain.o execParallel.o execProcnode.o execQual.o \
|
|
|
|
|
execScan.o execTuples.o \
|
2005-04-19 18:35:18 -04:00
|
|
|
execUtils.o functions.o instrument.o nodeAppend.o nodeAgg.o \
|
|
|
|
|
nodeBitmapAnd.o nodeBitmapOr.o \
|
Add a Gather executor node.
A Gather executor node runs any number of copies of a plan in an equal
number of workers and merges all of the results into a single tuple
stream. It can also run the plan itself, if the workers are
unavailable or haven't started up yet. It is intended to work with
the Partial Seq Scan node which will be added in future commits.
It could also be used to implement parallel query of a different sort
by itself, without help from Partial Seq Scan, if the single_copy mode
is used. In that mode, a worker executes the plan, and the parallel
leader does not, merely collecting the worker's results. So, a Gather
node could be inserted into a plan to split the execution of that plan
across two processes. Nested Gather nodes aren't currently supported,
but we might want to add support for that in the future.
There's nothing in the planner to actually generate Gather nodes yet,
so it's not quite time to break out the champagne. But we're getting
close.
Amit Kapila. Some designs suggestions were provided by me, and I also
reviewed the patch. Single-copy mode, documentation, and other minor
changes also by me.
2015-09-30 19:23:36 -04:00
|
|
|
nodeBitmapHeapscan.o nodeBitmapIndexscan.o nodeCustom.o nodeGather.o \
|
|
|
|
|
nodeHash.o nodeHashjoin.o nodeIndexscan.o nodeIndexonlyscan.o \
|
2011-10-11 14:20:06 -04:00
|
|
|
nodeLimit.o nodeLockRows.o \
|
2010-10-14 16:56:39 -04:00
|
|
|
nodeMaterial.o nodeMergeAppend.o nodeMergejoin.o nodeModifyTable.o \
|
2008-10-04 17:56:55 -04:00
|
|
|
nodeNestloop.o nodeFunctionscan.o nodeRecursiveunion.o nodeResult.o \
|
2015-05-15 14:37:10 -04:00
|
|
|
nodeSamplescan.o nodeSeqscan.o nodeSetOp.o nodeSort.o nodeUnique.o \
|
2008-10-04 17:56:55 -04:00
|
|
|
nodeValuesscan.o nodeCtescan.o nodeWorktablescan.o \
|
2009-10-12 14:10:51 -04:00
|
|
|
nodeGroup.o nodeSubplan.o nodeSubqueryscan.o nodeTidscan.o \
|
Glue layer to connect the executor to the shm_mq mechanism.
The shm_mq mechanism was built to send error (and notice) messages and
tuples between backends. However, shm_mq itself only deals in raw
bytes. Since commit 2bd9e412f92bc6a68f3e8bcb18e04955cc35001d, we have
had infrastructure for one message to redirect protocol messages to a
queue and for another backend to parse them and do useful things with
them. This commit introduces a somewhat analogous facility for tuples
by adding a new type of DestReceiver, DestTupleQueue, which writes
each tuple generated by a query into a shm_mq, and a new
TupleQueueFunnel facility which reads raw tuples out of the queue and
reconstructs the HeapTuple format expected by the executor.
The TupleQueueFunnel abstraction supports reading from multiple tuple
streams at the same time, but only in round-robin fashion. Someone
could imaginably want other policies, but this should be good enough
to meet our short-term needs related to parallel query, and we can
always extend it later.
This also makes one minor addition to the shm_mq API that didn'
seem worth breaking out as a separate patch.
Extracted from Amit Kapila's parallel sequential scan patch. This
code was originally written by me, and then it was revised by Amit,
and then it was revised some more by me.
2015-09-18 21:10:08 -04:00
|
|
|
nodeForeignscan.o nodeWindowAgg.o tstoreReceiver.o tqueue.o spi.o
|
1996-10-27 04:55:05 -05:00
|
|
|
|
2008-02-19 05:30:09 -05:00
|
|
|
include $(top_srcdir)/src/backend/common.mk
|