postgresql/src/backend/rewrite
Tom Lane b41f4ab8c4 Use a private memory context to store rule information in each relcache
entry that has rules.  This allows us to release the rule parsetrees
on relcache flush without needing a working freeObject() routine.
Formerly, the rule trees were leaked permanently at relcache flush.
Also, clean up handling of rule creation and deletion --- there was
not sufficient locking of the relation being modified, and there was
no reliable notification of other backends that a relcache reload
was needed.  Also, clean up relcache.c code so that scans of system
tables needed to load a relcache entry are done in the caller's
memory context, not in CacheMemoryContext.  This prevents any
un-pfreed memory from those scans from becoming a permanent memory
leak.
2000-06-30 07:04:23 +00:00
..
Makefile Generated header files parse.h and fmgroids.h are now copied into 2000-05-29 05:45:56 +00:00
locks.c Remove unused include files. Do not touch /port or includes used by defines. 2000-05-30 00:49:57 +00:00
rewriteDefine.c Use a private memory context to store rule information in each relcache 2000-06-30 07:04:23 +00:00
rewriteHandler.c Use a private memory context to store rule information in each relcache 2000-06-30 07:04:23 +00:00
rewriteManip.c Remove unused include files. Do not touch /port or includes used by defines. 2000-05-30 00:49:57 +00:00
rewriteRemove.c Use a private memory context to store rule information in each relcache 2000-06-30 07:04:23 +00:00
rewriteSupport.c Use a private memory context to store rule information in each relcache 2000-06-30 07:04:23 +00:00