aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/spgist
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-01-24 16:42:58 -0500
committerRobert Haas <rhaas@postgresql.org>2017-01-24 16:42:58 -0500
commit7b4ac19982a77a1a2a6f096c4a11ee7325a14d2c (patch)
treeac2192af5b3aa1c9898c67c304f9ab239f044a1d /src/backend/access/spgist
parent587cda35ca331128db6c61d406d312654572834a (diff)
downloadpostgresql-7b4ac19982a77a1a2a6f096c4a11ee7325a14d2c.tar.gz
postgresql-7b4ac19982a77a1a2a6f096c4a11ee7325a14d2c.zip
Extend index AM API for parallel index scans.
This patch doesn't actually make any index AM parallel-aware, but it provides the necessary functions at the AM layer to do so. Rahila Syed, Amit Kapila, Robert Haas
Diffstat (limited to 'src/backend/access/spgist')
-rw-r--r--src/backend/access/spgist/spgutils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/access/spgist/spgutils.c b/src/backend/access/spgist/spgutils.c
index ca4b0bdbe4f..78846bec666 100644
--- a/src/backend/access/spgist/spgutils.c
+++ b/src/backend/access/spgist/spgutils.c
@@ -68,6 +68,9 @@ spghandler(PG_FUNCTION_ARGS)
amroutine->amendscan = spgendscan;
amroutine->ammarkpos = NULL;
amroutine->amrestrpos = NULL;
+ amroutine->amestimateparallelscan = NULL;
+ amroutine->aminitparallelscan = NULL;
+ amroutine->amparallelrescan = NULL;
PG_RETURN_POINTER(amroutine);
}