!5852 修复repl_scanner.l中的报错被删除后导致CI用例没过的问题

Merge pull request !5852 from cchen676/240710master
This commit is contained in:
opengauss_bot
2024-07-25 06:09:11 +00:00
committed by Gitee

View File

@ -202,7 +202,13 @@ WAIT { return K_WAIT; }
}
. {
return T_WORD;
if (u_sess->proc_cxt.clientIsSubscription) {
return T_WORD;
}
ereport(ERROR,
(errcode(ERRCODE_SYNTAX_ERROR),
errmsg("syntax error: unexpected character \"%s\"", yytext)));
}
%%