Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 92781fc

Browse files
committed
cleanups
1 parent 48ea8b7 commit 92781fc

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/backend/commands/command.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.40 1999/03/17 22:52:51 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.41 1999/03/23 05:40:59 momjian Exp $
1111
*
1212
* NOTES
1313
* The PortalExecutorHeapMemory crap needs to be eliminated
@@ -190,8 +190,7 @@ PerformPortalFetch(char *name,
190190
* execute the portal fetch operation
191191
* ----------------
192192
*/
193-
PortalExecutorHeapMemory = (MemoryContext)
194-
PortalGetHeapMemory(portal);
193+
PortalExecutorHeapMemory = (MemoryContext) PortalGetHeapMemory(portal);
195194

196195
ExecutorRun(queryDesc, PortalGetState(portal), feature,
197196
(Node *)NULL, (Node *)&limcount);

src/backend/tcop/pquery.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.21 1999/02/13 23:18:47 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.22 1999/03/23 05:41:00 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -190,8 +190,7 @@ ProcessPortal(char *portalName,
190190
* do what is possible across transaction boundries. -hirohama
191191
* ----------------
192192
*/
193-
portalContext = (MemoryContext)
194-
PortalGetHeapMemory(GetPortalByName(NULL));
193+
portalContext = (MemoryContext) PortalGetHeapMemory(GetPortalByName(NULL));
195194

196195
MemoryContextSwitchTo(portalContext);
197196

0 commit comments

Comments
 (0)