Skip to content

Commit d709964

Browse files
author
Neil Conway
committed
Fix a copy-and-paste error: give a distinct memory context a distinct
name, mainly for debugging purposes.
1 parent 1bef379 commit d709964

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/mmgr/portalmem.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.73 2004/09/16 21:08:12 tgl Exp $
15+
* $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.74 2004/10/12 01:50:04 neilc Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -278,7 +278,7 @@ PortalCreateHoldStore(Portal portal)
278278
*/
279279
portal->holdContext =
280280
AllocSetContextCreate(PortalMemory,
281-
"PortalHeapMemory",
281+
"PortalHoldContext",
282282
ALLOCSET_DEFAULT_MINSIZE,
283283
ALLOCSET_DEFAULT_INITSIZE,
284284
ALLOCSET_DEFAULT_MAXSIZE);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy