Re: Patch for Improved Syntax Error Reporting

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch for Improved Syntax Error Reporting
Дата
Msg-id 20245.996849090@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Patch for Improved Syntax Error Reporting  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Patch for Improved Syntax Error Reporting
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Seems we could easily have the backend return a string with three tokens
> before/after the syntax error, and that would be enough.

I strongly disagree.  If the "three tokens" are something like ")))",
how's that going to help you figure out where you tanked your
parenthesization in a huge query with dozens of parentheses?  See also
the points I made concerning errors masked by comment removal.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: ODBC Boolean handling
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Current cvs does not compile jdbc1 driver