From: Bruce Momjian Date: Tue, 23 Mar 1999 05:41:00 +0000 (+0000) Subject: cleanups X-Git-Tag: REL6_5~473 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92781fc18a024d4ea97dc08f27732b8108d1f5ee;p=postgresql cleanups --- diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c index 4a391cd549..119343d3aa 100644 --- a/src/backend/commands/command.c +++ b/src/backend/commands/command.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.40 1999/03/17 22:52:51 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.41 1999/03/23 05:40:59 momjian Exp $ * * NOTES * The PortalExecutorHeapMemory crap needs to be eliminated @@ -190,8 +190,7 @@ PerformPortalFetch(char *name, * execute the portal fetch operation * ---------------- */ - PortalExecutorHeapMemory = (MemoryContext) - PortalGetHeapMemory(portal); + PortalExecutorHeapMemory = (MemoryContext) PortalGetHeapMemory(portal); ExecutorRun(queryDesc, PortalGetState(portal), feature, (Node *)NULL, (Node *)&limcount); diff --git a/src/backend/tcop/pquery.c b/src/backend/tcop/pquery.c index 3f0362e030..97e8663e7d 100644 --- a/src/backend/tcop/pquery.c +++ b/src/backend/tcop/pquery.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.21 1999/02/13 23:18:47 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.22 1999/03/23 05:41:00 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -190,8 +190,7 @@ ProcessPortal(char *portalName, * do what is possible across transaction boundries. -hirohama * ---------------- */ - portalContext = (MemoryContext) - PortalGetHeapMemory(GetPortalByName(NULL)); + portalContext = (MemoryContext) PortalGetHeapMemory(GetPortalByName(NULL)); MemoryContextSwitchTo(portalContext);