Re: Patch for more readable parse error messages

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch for more readable parse error messages
Дата
Msg-id 18988.960563884@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Patch for more readable parse error messages  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Can someone remind me where we are on this.   I seem to remember we have
> to have db clients report the location because of problems with
> interfaces handling the error output.

I think we rejected that form of the patch.  ISTM the right answer is
for the backend to hand back some fairly machine-friendly indication
of the error position (character NNN, probably) and let the frontend
decide how it wants to make use of the info.  This ought to be done
in conjunction with the other changes in error reporting methods that
people have been muttering about --- supply identifiable error codes,
separate location-in-backend-code information from the error itself,
etc etc.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BeOS take 2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: [CORE] Re: MY PATCH