1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-20 00:42:27 +03:00

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.
This commit is contained in:
Peter Eisentraut 2025-04-02 14:34:24 +02:00
parent 09be391126
commit 748e98d05b

View File

@ -1134,8 +1134,7 @@ typedef struct IndexOptInfo IndexOptInfo;
#define HAVE_INDEXOPTINFO_TYPEDEF 1 #define HAVE_INDEXOPTINFO_TYPEDEF 1
#endif #endif
struct IndexPath; /* avoid including pathnodes.h here */ struct IndexPath; /* forward declaration */
struct PlannerInfo; /* avoid including pathnodes.h here */
struct IndexOptInfo struct IndexOptInfo
{ {