forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5412424
committed
In that case, attached is a patch which locates the beginning of the
offending token more efficiently (per your suggestion of usingscanbuf). The new patch does the same as before:template1=# select * frum pg_class;ERROR: parser: parse error at or near "frum" at character 10It also implement's Tom's suggestion:template1=# select * from pg_class where\gERROR: parse: parse error at end of inputGavin Sherry1 parent82119a6 commit5412424
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
585 | | - | |
586 | | - | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
587 | 591 | | |
588 | 592 | | |
589 | 593 | | |
| |||
0 commit comments
Comments
(0)