Content-Length: 257401 | pFad | http://github.com/postgrespro/postgres/commit/47aaebaac95c9000549d1a6de809e15b729231f5

57 Switch in psql_scan() must cover all lexer states (except backslash c… · postgrespro/postgres@47aaeba · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/47aaebaac95c9000549d1a6de809e15b729231f5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy