From: Neil Conway Date: Tue, 12 Oct 2004 01:50:04 +0000 (+0000) Subject: Fix a copy-and-paste error: give a distinct memory context a distinct X-Git-Tag: REL8_0_0BETA4~131 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d7099647798fbacb08698d1373f5c49e933585ac;p=thirdparty%2Fpostgresql.git Fix a copy-and-paste error: give a distinct memory context a distinct name, mainly for debugging purposes. --- diff --git a/src/backend/utils/mmgr/portalmem.c b/src/backend/utils/mmgr/portalmem.c index d7875977130..23afef4f41f 100644 --- a/src/backend/utils/mmgr/portalmem.c +++ b/src/backend/utils/mmgr/portalmem.c @@ -12,7 +12,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * 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 = AllocSetContextCreate(PortalMemory, - "PortalHeapMemory", + "PortalHoldContext", ALLOCSET_DEFAULT_MINSIZE, ALLOCSET_DEFAULT_INITSIZE, ALLOCSET_DEFAULT_MAXSIZE);