From d7099647798fbacb08698d1373f5c49e933585ac Mon Sep 17 00:00:00 2001
From: Neil Conway <neilc@samurai.com>
Date: Tue, 12 Oct 2004 01:50:04 +0000
Subject: [PATCH] Fix a copy-and-paste error: give a distinct memory context a
 distinct name, mainly for debugging purposes.

---
 src/backend/utils/mmgr/portalmem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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);
-- 
GitLab