Update extensions with GIN/GIST support for parallel query.
authorRobert Haas <[email protected]>
Tue, 14 Jun 2016 17:34:37 +0000 (13:34 -0400)
committerRobert Haas <[email protected]>
Tue, 14 Jun 2016 17:34:37 +0000 (13:34 -0400)
commit2910fc8239fa501b662c5459d7ba16a4bc35e7e8
treef1cac5cac9278e49009c17c0dc25104b850bf534
parent131c7e70b4596027992a2f72bfd3765f0fff1b7c
Update extensions with GIN/GIST support for parallel query.

Commit 749a787c5b25ae33b3d4da0ef12aa05214aa73c7 bumped the extension
version on all of these extensions already, and we haven't had a
release since then, so we can make further changes without bumping the
extension version again.  Take this opportunity to mark all of the
functions exported by these modules PARALLEL SAFE -- except for
pg_trgm's set_limit().  Mark that one PARALLEL RESTRICTED, because it
makes a persistent change to a GUC value.

Note that some of the markings added by this commit don't have any
effect; for example, gseg_picksplit() isn't likely to be mentioned
explicitly in a query and therefore it's parallel-safety marking will
never be consulted.  But this commit just marks everything for
consistency: if it were somehow used in a query, that would be fine as
far as parallel query is concerned, since it does not consult any
backend-private state, attempt to write data, etc.

Andreas Karlsson, with a few revisions by me.
12 files changed:
contrib/cube/cube--1.1--1.2.sql
contrib/cube/cube--1.2.sql
contrib/hstore/hstore--1.3--1.4.sql
contrib/hstore/hstore--1.4.sql
contrib/intarray/intarray--1.1--1.2.sql
contrib/intarray/intarray--1.2.sql
contrib/ltree/ltree--1.0--1.1.sql
contrib/ltree/ltree--1.1.sql
contrib/pg_trgm/pg_trgm--1.2--1.3.sql
contrib/pg_trgm/pg_trgm--1.3.sql
contrib/seg/seg--1.0--1.1.sql
contrib/seg/seg--1.1.sql