minor code question: portal memory cxts
minor code question: portal memory cxts
От:
Neil Conway <neilc@samurai.com>
Дата:
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
Re: minor code question: portal memory cxts
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Neil Conway 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