diff --git a/contrib/babelfishpg_tsql/src/backend_parser/gram-tsql-rule.y b/contrib/babelfishpg_tsql/src/backend_parser/gram-tsql-rule.y index 1e4d669bde..95f3aa8c32 100644 --- a/contrib/babelfishpg_tsql/src/backend_parser/gram-tsql-rule.y +++ b/contrib/babelfishpg_tsql/src/backend_parser/gram-tsql-rule.y @@ -4244,7 +4244,8 @@ tsql_IsolationLevelStr: } | REPEATABLE READ { - if(pltsql_enable_repeatable_read_isolation_level){ + if(pltsql_enable_repeatable_read_isolation_level) + { TSQLInstrumentation(INSTR_TSQL_ISOLATION_LEVEL_REPEATABLE_READ); $$ = "repeatable read"; } @@ -4264,7 +4265,8 @@ tsql_IsolationLevelStr: } | SERIALIZABLE { - if(pltsql_enable_serializable_isolation_level){ + if(pltsql_enable_serializable_isolation_level) + { TSQLInstrumentation(INSTR_TSQL_ISOLATION_LEVEL_SERIALIZABLE); $$ = "serializable"; } diff --git a/contrib/babelfishpg_tsql/src/guc.c b/contrib/babelfishpg_tsql/src/guc.c index e9f109da04..0e5ef25a97 100644 --- a/contrib/babelfishpg_tsql/src/guc.c +++ b/contrib/babelfishpg_tsql/src/guc.c @@ -1182,7 +1182,7 @@ define_custom_variables(void) &pltsql_enable_repeatable_read_isolation_level, false, PGC_USERSET, - GUC_NOT_IN_SAMPLE , + GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_AUTO_FILE, NULL, NULL, NULL); DefineCustomBoolVariable("babelfishpg_tsql.enable_serializable_isolation_level", @@ -1191,7 +1191,7 @@ define_custom_variables(void) &pltsql_enable_serializable_isolation_level, false, PGC_USERSET, - GUC_NOT_IN_SAMPLE , + GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_AUTO_FILE, NULL, NULL, NULL); }