diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/psqlscan.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/psql/psqlscan.l b/src/bin/psql/psqlscan.l index 04c85816fe0..7d61f932fdd 100644 --- a/src/bin/psql/psqlscan.l +++ b/src/bin/psql/psqlscan.l @@ -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; |