diff options
author | Peter Eisentraut | 2025-04-02 12:34:24 +0000 |
---|---|---|
committer | Peter Eisentraut | 2025-04-02 12:42:12 +0000 |
commit | b19893b94bdea3b206cb544619d84cea6276f648 (patch) | |
tree | 981eca7c831828b7751f1c0618cf5e41fa72b85f | |
parent | e962d6d12b7e8185775da26ef0f77a3ac63d18a0 (diff) |
Fix code comment
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.
-rw-r--r-- | src/include/nodes/pathnodes.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/nodes/pathnodes.h b/src/include/nodes/pathnodes.h index 50b09781f25..576f1c7e9b9 100644 --- a/src/include/nodes/pathnodes.h +++ b/src/include/nodes/pathnodes.h @@ -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 { |