Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd9a9f4b

Browse files
committed
psql: Fix line continuation prompts for unbalanced parentheses
This was broken by a silly mistake ine717a9a.Reported-by: Jeff Janes <jeff.janes@gmail.com>Author: Justin Pryzby <pryzby@telsasoft.com>Discussion:https://www.postgresql.org/message-id/CAMkU=1zKGWEJdBbYKw7Tn7cJmYR_UjgdcXTPDqJj=dNwCETBCQ@mail.gmail.com
1 parent3a948ea commitd9a9f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/fe_utils/psqlscan.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ psql_scan(PsqlScanState state,
11061106
result = PSCAN_INCOMPLETE;
11071107
*prompt = PROMPT_PAREN;
11081108
}
1109-
if (state->begin_depth >0)
1109+
elseif (state->begin_depth >0)
11101110
{
11111111
result = PSCAN_INCOMPLETE;
11121112
*prompt = PROMPT_CONTINUE;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp