diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-01-24 16:42:58 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-01-24 16:42:58 -0500 |
commit | 7b4ac19982a77a1a2a6f096c4a11ee7325a14d2c (patch) | |
tree | ac2192af5b3aa1c9898c67c304f9ab239f044a1d /src/backend/access/gist/gist.c | |
parent | 587cda35ca331128db6c61d406d312654572834a (diff) | |
download | postgresql-7b4ac19982a77a1a2a6f096c4a11ee7325a14d2c.tar.gz |
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/gist/gist.c')
-rw-r--r-- | src/backend/access/gist/gist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c index 597056ae44..c2247ad2f7 100644 --- a/src/backend/access/gist/gist.c +++ b/src/backend/access/gist/gist.c @@ -89,6 +89,9 @@ gisthandler(PG_FUNCTION_ARGS) amroutine->amendscan = gistendscan; amroutine->ammarkpos = NULL; amroutine->amrestrpos = NULL; + amroutine->amestimateparallelscan = NULL; + amroutine->aminitparallelscan = NULL; + amroutine->amparallelrescan = NULL; PG_RETURN_POINTER(amroutine); } |