Skip to content

Commit 47aaeba

Browse files
committed
Switch in psql_scan() must cover all lexer states (except backslash cases).
Oversight in commit f7559c0, which changed UESCAPE lexing in psql. Per bug #9068 from Manuel Gómez.
1 parent c087e8c commit 47aaeba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bin/psql/psqlscan.l

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,8 @@ psql_scan(PsqlScanState state,
12961296
{
12971297
/* This switch must cover all non-slash-command states. */
12981298
case INITIAL:
1299+
case xuiend: /* we treat these like INITIAL */
1300+
case xusend:
12991301
if (state->paren_depth > 0)
13001302
{
13011303
result = PSCAN_INCOMPLETE;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy