提交 47aaebaa 编写于 作者: T Tom Lane

Switch in psql_scan() must cover all lexer states (except backslash cases).

Oversight in commit f7559c01, which changed
UESCAPE lexing in psql.  Per bug #9068 from Manuel Gómez.
上级 c087e8cf
......@@ -1296,6 +1296,8 @@ psql_scan(PsqlScanState state,
{
/* This switch must cover all non-slash-command states. */
case INITIAL:
case xuiend: /* we treat these like INITIAL */
case xusend:
if (state->paren_depth > 0)
{
result = PSCAN_INCOMPLETE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册