Update extensions with GIN/GIST support for parallel query.
Robert Haas <rhaas@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/cube/cube--1.1--1.2.sql | modified | +41 −0 |
| contrib/cube/cube--1.2.sql | modified | +40 −40 |
| contrib/hstore/hstore--1.3--1.4.sql | modified | +58 −0 |
| contrib/hstore/hstore--1.4.sql | modified | +57 −57 |
| contrib/intarray/intarray--1.1--1.2.sql | modified | +53 −0 |
| contrib/intarray/intarray--1.2.sql | modified | +52 −52 |
| contrib/ltree/ltree--1.0--1.1.sql | modified | +71 −0 |
| contrib/ltree/ltree--1.1.sql | modified | +70 −70 |
| contrib/pg_trgm/pg_trgm--1.2--1.3.sql | modified | +26 −0 |
| contrib/pg_trgm/pg_trgm--1.3.sql | modified | +25 −25 |
| contrib/seg/seg--1.0--1.1.sql | modified | +31 −1 |
| contrib/seg/seg--1.1.sql | modified | +29 −29 |