Cleanup of GiST extensions in contrib/: now that we always invoke GiST
Neil Conway <neilc@samurai.com>
Cleanup of GiST extensions in contrib/: now that we always invoke GiST methods in a short-lived memory context, there is no need for GiST methods to do their own manual (and error-prone) memory management.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/btree_gist/btree_bit.c | modified | +0 −5 |
| contrib/btree_gist/btree_bytea.c | modified | +1 −5 |
| contrib/btree_gist/btree_numeric.c | modified | +1 −20 |
| contrib/btree_gist/btree_text.c | modified | +1 −15 |
| contrib/btree_gist/btree_time.c | modified | +0 −3 |
| contrib/btree_gist/btree_ts.c | modified | +0 −5 |
| contrib/btree_gist/btree_utils_num.c | modified | +0 −2 |
| contrib/btree_gist/btree_utils_var.c | modified | +14 −47 |
| contrib/cube/cube.c | modified | +0 −12 |
| contrib/ltree/_ltree_gist.c | modified | +0 −4 |
| contrib/ltree/ltree_gist.c | modified | +0 −4 |
| contrib/pg_trgm/trgm_gist.c | modified | +0 −9 |
| contrib/rtree_gist/rtree_gist.c | modified | +1 −18 |
| contrib/seg/seg.c | modified | +0 −13 |
| contrib/tsearch2/gistidx.c | modified | +0 −6 |
| contrib/tsearch/gistidx.c | modified | +0 −6 |