回退repl_scanner.l的修改,因为驱动中在建立连接时会发sql
This commit is contained in:
@ -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;
|
||||
}
|
||||
%%
|
||||
|
||||
|
||||
Reference in New Issue
Block a user