Content-Length: 279678 | pFad | http://github.com/postgrespro/postgres/commit/a6bbfedcf7a899c91182f373f93f15f5af247647

46 Remove test for NULL node in ExecProcNode(). No place ever calls · postgrespro/postgres@a6bbfed · GitHub
Skip to content

Commit a6bbfed

Browse files
committed
Remove test for NULL node in ExecProcNode(). No place ever calls
ExecProcNode() with a NULL value, so the test couldn't do anything for us except maybe mask bugs. Removing it probably doesn't save anything much either, but then again this is a hot-spot routine.
1 parent ad161bc commit a6bbfed

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/backend/executor/execProcnode.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.47 2005/03/25 21:57:58 tgl Exp $
15+
* $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.48 2005/04/06 20:13:49 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -271,12 +271,6 @@ ExecProcNode(PlanState *node)
271271

272272
CHECK_FOR_INTERRUPTS();
273273

274-
/*
275-
* deal with NULL nodes..
276-
*/
277-
if (node == NULL)
278-
return NULL;
279-
280274
if (node->chgParam != NULL) /* something changed */
281275
ExecReScan(node, NULL); /* let ReScan handle this */
282276

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/a6bbfedcf7a899c91182f373f93f15f5af247647

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy