Re: [PATCHES] Proposed patch for error locations

2006-03-13 Thread Christopher Kings-Lynne
from all libpq-using applications not just psql. We could make this conditional on the error verbosity --- in terse mode the LINE N output wouldn't appear, and at character N still would. Applications should already be expecting multiline outputs from PQerrorMessage if they're in non-terse

[PATCHES] Proposed patch for error locations

2006-03-12 Thread Tom Lane
The attached WIP patch improves the parser so that cursor positions can be attached to many errors reported during parse analysis, such as complaints about nonexistent columns or functions. This is along the lines proposed in my rant here: