Skip to content

Commit 748e98d

Browse files
committed
Fix code comment
The changes made in commit d2b4b4c 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.
1 parent 09be391 commit 748e98d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/include/nodes/pathnodes.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,8 +1134,7 @@ typedef struct IndexOptInfo IndexOptInfo;
11341134
#define HAVE_INDEXOPTINFO_TYPEDEF 1
11351135
#endif
11361136

1137-
struct IndexPath; /* avoid including pathnodes.h here */
1138-
struct PlannerInfo; /* avoid including pathnodes.h here */
1137+
struct IndexPath; /* forward declaration */
11391138

11401139
struct IndexOptInfo
11411140
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy