Re: client side syntax error localisation for psql (v1)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: client side syntax error localisation for psql (v1)
Дата
Msg-id 20425.1079022118@sss.pgh.pa.us
обсуждение исходный текст
Ответ на client side syntax error localisation for psql (v1)  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: client side syntax error localisation for psql (v1)  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> Please find attached my first attempt at providing a localisation
> information on the client side for syntax errors in "psql".

"Localisation" tends to mean something quite different around here.
I'd suggest renaming the function to something like ReportSyntaxErrorPosition.

Would it read better to add "..." at the front and/or back of the query
extract, when you have actually truncated text at that end?

The "on line N" bit seems just noise to me.
        regards, tom lane


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Default Stats Revisited
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Default Stats Revisited