回退repl_scanner.l的修改,因为驱动中在建立连接时会发sql

This commit is contained in:
arcoalien@qq.com
2024-07-30 17:24:02 +08:00
parent d4603ba725
commit ab44cdeea8

View File

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