Teach psql to show the location of syntax errors visually, per recent
Tom Lane <tgl@sss.pgh.pa.us>
Teach psql to show the location of syntax errors visually, per recent discussions. Patch by Fabien Coelho and Tom Lane. Still needs to be taught about multi-screen-column kanji characters; Tatsuo has promised to provide the needed infrastructure for that.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/common.c | modified | +215 −4 |
| src/test/regress/expected/errors.out | modified | +183 −3 |
| src/test/regress/expected/strings.out | modified | +2 −0 |
| src/test/regress/output/constraints.source | modified | +4 −0 |
| src/test/regress/sql/errors.sql | modified | +99 −5 |