-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing for plans w/ spaces at beginning of Output lines
Fixes #611
- Loading branch information
Showing
4 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"Plan": { | ||
"Node Type": "Nested Loop Join", | ||
"Plans": [{ | ||
"Node Type": "Bitmap Heap Scan", | ||
"Plans": [{ | ||
"Node Type": "Bitmap Index Scan" | ||
}] | ||
}] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Not a real plan. Showing how line breaks (with empty space at the begining) in an Output can break parsing. | ||
QUERY PLAN | ||
═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ | ||
Nested Loop Left Join (cost=11.95..28.52 rows=5 width=157) | ||
-> Bitmap Heap Scan on public.rel_users_exams (cost=11.80..20.27 rows=5 width=52) | ||
Output: rel_users_exams.user_username, rel_users_exams.exam_id, | ||
rel_users_exams.started_at, rel_users_exams.finished_at | ||
-> Bitmap Index Scan on rel_users_exams_pkey (cost=0.00..11.80 rows=5 width=0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters