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

name, mainly for debugging purposes.
This commit is contained in:
Neil Conway 2004-10-12 01:50:04 +00:00
parent 1bef379d08
commit d709964779

@ -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)
*/ */
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);