postgresql/src/backend
Tom Lane d22a09dc70 Support GiST index support functions that want to cache data across calls.
pg_trgm was already doing this unofficially, but the implementation hadn't
been thought through very well and leaked memory.  Restructure the core
GiST code so that it actually works, and document it.  Ordinarily this
would have required an extra memory context creation/destruction for each
GiST index search, but I was able to avoid that in the normal case of a
non-rescanned search by finessing the handling of the RBTree.  It used to
have its own context always, but now shares a context with the
scan-lifespan data structures, unless there is more than one rescan call.
This should make the added overhead unnoticeable in typical cases.
2011-09-30 19:48:57 -04:00
..
access Support GiST index support functions that want to cache data across calls. 2011-09-30 19:48:57 -04:00
bootstrap Simplify handling of the timezone GUC by making initdb choose the default. 2011-09-09 17:59:11 -04:00
catalog Fix another bit of unlogged-table-induced breakage. 2011-09-21 10:48:31 -04:00
commands Make EXPLAIN ANALYZE report the numbers of rows rejected by filter steps. 2011-09-22 11:30:11 -04:00
executor Update obsolete comments. 2011-09-26 13:12:22 -04:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:36:49 -04:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq Remove many -Wcast-qual warnings 2011-09-11 21:54:32 +03:00
main Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
nodes Remove many -Wcast-qual warnings 2011-09-11 21:54:32 +03:00
optimizer Fix index matching for operators with mixed collatable/noncollatable inputs. 2011-09-29 00:43:42 -04:00
parser Move Timestamp/Interval typedefs and basic macros into datatype/timestamp.h. 2011-09-09 13:23:41 -04:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
postmaster Fix pg_upgrade for EXEC_BACKEND builds (e.g. Windows) by properly 2011-09-29 17:21:34 -04:00
regex Add markers for skips. 2011-08-26 18:15:13 -04:00
replication Split walsender.h in public/private headers 2011-09-13 21:42:49 -03:00
rewrite Rearrange planner to save the whole PlannerInfo (subroot) for a subquery. 2011-09-03 15:36:24 -04:00
snowball Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
storage Allow snapshot references to still work during transaction abort. 2011-09-26 22:25:28 -04:00
tcop Redesign the plancache mechanism for more flexibility and efficiency. 2011-09-16 00:43:52 -04:00
tsearch Remove many -Wcast-qual warnings 2011-09-11 21:54:32 +03:00
utils Fix recursion into previously planned sub-query in examine_simple_variable. 2011-09-29 18:13:16 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
Makefile Fix symlink for errcodes.h so it works in VPATH builds from tarballs. 2011-06-22 13:08:08 -04:00
nls.mk Add the possibility to pass --flag arguments to xgettext calls 2011-06-27 00:37:21 +03:00