The memory context created at src/backend/utils/mmgr/portalmem.c:183
shares the name of the memory context created at portalmem.c:279 (they
are both called "PortalHeapMemory"). Is there a reason for this?

-Neil



Tue, 12 Oct 2004 09:29:31 +1000
Neil Conway <neilc@samurai.com>
minor code question: portal memory cxts
Neil Conway <neilc@samurai.com> writes:
> The memory context created at src/backend/utils/mmgr/portalmem.c:183
> shares the name of the memory context created at portalmem.c:279 (they
> are both called "PortalHeapMemory"). Is there a reason for this?

Copy-and-paste oversight I'd say.  Probably the latter ought to be
"PortalHoldContext" or some such.

			regards, tom lane

Mon, 11 Oct 2004 19:40:02 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: minor code question: portal memory cxts 
On Tue, 2004-10-12 at 09:40, Tom Lane wrote:
> Copy-and-paste oversight I'd say.  Probably the latter ought to be
> "PortalHoldContext" or some such.

Thanks, that's what I suspected. I've applied the attached fix to HEAD.

-Neil
Tue, 12 Oct 2004 11:50:32 +1000
Neil Conway <neilc@samurai.com>
Re: minor code question: portal memory cxts