minor_fixes.txt

text/plain

Filename: minor_fixes.txt
Type: text/plain
Part: 0
Message: Re: Some ExecSeqScan optimizations
diff --git a/src/backend/executor/nodeSeqscan.c b/src/backend/executor/nodeSeqscan.c
index f93ccc761e..6f9e991eea 100644
--- a/src/backend/executor/nodeSeqscan.c
+++ b/src/backend/executor/nodeSeqscan.c
@@ -103,7 +103,7 @@ SeqRecheck(SeqScanState *node, TupleTableSlot *slot)
  *		tuple. This variant is used when there is no es_eqp_active, no qual
  *		and no projection.  Passing const-NULLs for these to ExecScanExtended
  *		allows the compiler to eliminate the additional code that would
- *		ordinarily be required for evalualtion of these.
+ *		ordinarily be required for the evaluation of these.
  * ----------------------------------------------------------------
  */
 static TupleTableSlot *
diff --git a/src/include/executor/execScan.h b/src/include/executor/execScan.h
index 194be0ea1c..da8e5ab8a7 100644
--- a/src/include/executor/execScan.h
+++ b/src/include/executor/execScan.h
@@ -10,8 +10,8 @@
  *-------------------------------------------------------------------------
  */
 
-#ifndef EXECASYNC_H
-#define EXECASYNC_H
+#ifndef EXECSCAN_H
+#define EXECSCAN_H
 
 #include "miscadmin.h"
 #include "executor/executor.h"
@@ -148,7 +148,6 @@ ExecScanFetch(ScanState *node,
  *	positioned before the first qualifying tuple.
  * ----------------------------------------------------------------
  */
-
 static pg_attribute_always_inline TupleTableSlot *
 ExecScanExtended(ScanState *node,
 				 ExecScanAccessMtd accessMtd,	/* function returning a tuple */
@@ -244,4 +243,4 @@ ExecScanExtended(ScanState *node,
 	}
 }
 
-#endif							/* EXECASYNC_H */
+#endif							/* EXECSCAN_H */