From 66e96f0ed918fdfe740d573ac2bb8967471c2fe7 Mon Sep 17 00:00:00 2001 From: Jianghua Yang Date: Wed, 3 Sep 2025 00:12:43 +0800 Subject: [PATCH] Fix compilation with --disable-orca Remove the USE_ORCA ifdef around OptimizerOptions. The struct is required regardless of ORCA support, and the conditional caused compilation failures when configured with --disable-orca. --- src/include/optimizer/orcaopt.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/include/optimizer/orcaopt.h b/src/include/optimizer/orcaopt.h index 2bb5395875c..4a045b632c0 100644 --- a/src/include/optimizer/orcaopt.h +++ b/src/include/optimizer/orcaopt.h @@ -29,13 +29,11 @@ #include "pg_config.h" -#ifdef USE_ORCA typedef struct OptimizerOptions { bool create_vectorization_plan; } OptimizerOptions; -#endif #endif /* ORCA_H */