Fix code comment
authorPeter Eisentraut <[email protected]>
Wed, 2 Apr 2025 12:34:24 +0000 (14:34 +0200)
committerPeter Eisentraut <[email protected]>
Wed, 2 Apr 2025 12:42:12 +0000 (14:42 +0200)
The changes made in commit d2b4b4c2259 contained incorrect comments:
They said that certain forward declarations were necessary to "avoid
including pathnodes.h here", but the file is itself pathnodes.h!  So
change the comment to just say it's a forward declaration in one case,
and in the other case we don't need the declaration at all because it
already appeared earlier in the file.

src/include/nodes/pathnodes.h

index 50b09781f25caeeda07364c058904bd0ad9d9af7..576f1c7e9b911b327e1360ba198233ddc495b339 100644 (file)
@@ -1101,8 +1101,7 @@ typedef struct IndexOptInfo IndexOptInfo;
 #define HAVE_INDEXOPTINFO_TYPEDEF 1
 #endif
 
-struct IndexPath;              /* avoid including pathnodes.h here */
-struct PlannerInfo;                /* avoid including pathnodes.h here */
+struct IndexPath;              /* forward declaration */
 
 struct IndexOptInfo
 {