/* init smlar guc */
initSmlarGUC();
- sprintf(buf,"%f", nlimit);
- set_config_option("smlar.threshold", buf,
- PGC_USERSET, PGC_S_SESSION ,GUC_ACTION_SET, true, 0);
+ sprintf(buf,"%f", nlimit);
+ set_config_option("smlar.threshold", buf,
+ PGC_USERSET, PGC_S_SESSION ,GUC_ACTION_SET, true, 0
+#if PG_VERSION_NUM >= 90500
+ ,false
+#endif
+ );
PG_RETURN_FLOAT4((float4)GetSmlarLimit());
}