]> granicus.if.org Git - postgresql/commit
Remove a couple of unnecessary calls of CreateCacheMemoryContext. These
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 27 Dec 2009 18:55:52 +0000 (18:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 27 Dec 2009 18:55:52 +0000 (18:55 +0000)
commitd4d1885e42ecc7d61c045f6d53b8fef4454083a9
tree35574a51f8bdd4b0fc34eac62ef421d5f1779704
parentc4371cdb8b7615938c255ba584ea67f8b7d496b5
Remove a couple of unnecessary calls of CreateCacheMemoryContext.  These
probably got there via blind copy-and-paste from one of the legitimate
callers, so rearrange and comment that code a bit to make it clearer that
this isn't a necessary prerequisite to hash_create.  Per observation
from Robert Haas.
src/backend/optimizer/util/predtest.c
src/backend/parser/parse_oper.c
src/backend/utils/cache/relcache.c
src/backend/utils/cache/ts_cache.c
src/backend/utils/cache/typcache.c