|
@@ -1228,7 +1228,8 @@ private:
|
|
|
.SetIsEnableExternalDataSources(SessionCtx->Config().FeatureFlags.GetEnableExternalDataSources())
|
|
|
.SetIsEnablePgConstsToParams(SessionCtx->Config().EnablePgConstsToParams)
|
|
|
.SetQueryParameters(query.ParameterTypes)
|
|
|
- .SetApplicationName(ApplicationName);
|
|
|
+ .SetApplicationName(ApplicationName)
|
|
|
+ .SetIsEnablePgSyntax(SessionCtx->Config().FeatureFlags.GetEnablePgSyntax());
|
|
|
auto astRes = ParseQuery(query.Text, isSql, sqlVersion, TypesCtx->DeprecatedSQL, ctx, settingsBuilder, result.KeepInCache, result.CommandTagName);
|
|
|
if (astRes.ActualSyntaxType == NYql::ESyntaxType::Pg) {
|
|
|
SessionCtx->Config().IndexAutoChooserMode = NKikimrConfig::TTableServiceConfig_EIndexAutoChooseMode::TTableServiceConfig_EIndexAutoChooseMode_MAX_USED_PREFIX;
|