Skip to content

Commit f799d10

Browse files
committed
Make gp_cte_sharing globally configurable
During CTE feature development, we discovered that the gp_cte_sharing GUC cannot be configured at the server level, which complicates testing of CTE sharing functionality. This GUC was introduced ten years ago, and there is no apparent reason why it should not be configurable globally. This change enables more flexible testing and deployment configurations. Authored-by: Zhang Mingli [email protected]
1 parent 31f58e1 commit f799d10

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/utils/misc/guc_gp.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,8 +1796,7 @@ struct config_bool ConfigureNamesBool_gp[] =
17961796
{
17971797
{"gp_cte_sharing", PGC_USERSET, QUERY_TUNING_METHOD,
17981798
gettext_noop("This guc enables sharing of plan fragments for common table expressions."),
1799-
NULL,
1800-
GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE
1799+
NULL
18011800
},
18021801
&gp_cte_sharing,
18031802
false,

0 commit comments

Comments
 (0)