| From: | Vadim Mikheev <vadim(at)krs(dot)ru> |
|---|---|
| To: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | hackers(at)postgreSQL(dot)org |
| Subject: | Re: [HACKERS] portals vs. memory contexts |
| Date: | 1999-03-23 03:33:44 |
| Message-ID: | 36F70B98.C38E9274@krs.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Bruce Momjian wrote:
>
> >
> > I notice you used portals for vacuum, rather than a separate memory
> > context. Can I ask why?
> >
> > I am considering creating an expression portal or memory context to
> > prevent the memory leaks from the utils/adt functions.
> >
>
> I am also confused about varaible portal memory vs heap portal memory.
portalmem.c:
* Node
* |
* MemoryContext___
* / \
* GlobalMemory PortalMemoryContext
* / \
* PortalVariableMemory PortalHeapMemory
*
* Flushed at Flushed at Checkpoints
* Transaction Portal
* Commit Close
*
* GlobalMemory n n n
* PortalVariableMemory n y n
* PortalHeapMemory y y y *
Vadim
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Erik Riedel | 1999-03-23 04:14:55 | Re: [HACKERS] optimizer and type question |
| Previous Message | James Thompson | 1999-03-23 03:29:03 | CVS 3-22-99 \d broken? |