Commit d7099647 authored by Neil Conway's avatar Neil Conway

Fix a copy-and-paste error: give a distinct memory context a distinct

name, mainly for debugging purposes.
parent 1bef379d
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.73 2004/09/16 21:08:12 tgl Exp $ * $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.74 2004/10/12 01:50:04 neilc Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -278,7 +278,7 @@ PortalCreateHoldStore(Portal portal) ...@@ -278,7 +278,7 @@ PortalCreateHoldStore(Portal portal)
*/ */
portal->holdContext = portal->holdContext =
AllocSetContextCreate(PortalMemory, AllocSetContextCreate(PortalMemory,
"PortalHeapMemory", "PortalHoldContext",
ALLOCSET_DEFAULT_MINSIZE, ALLOCSET_DEFAULT_MINSIZE,
ALLOCSET_DEFAULT_INITSIZE, ALLOCSET_DEFAULT_INITSIZE,
ALLOCSET_DEFAULT_MAXSIZE); ALLOCSET_DEFAULT_MAXSIZE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment