Re: Mention column name in error messages

Поиск
Список
Период
Сортировка
От Franck Verrot
Тема Re: Mention column name in error messages
Дата
Msg-id CANfkH5nTqd+w4bb85QSsGBZcmxs48xh7cutXPRO04=TzDGNWEQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Mention column name in error messages  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Mention column name in error messages  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Tue, Sep 15, 2015 at 7:12 AM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
I think you need errcontext(), not errdetail().  The most important
difference is that you can have multiple CONTEXT lines but only one
DETAIL; I think if you attach a second errdetail(), the first one is
overwritten.


Indeed, the first errdetail() will be overwritten. Here's another try.

Thanks again for looking at my patches!

--
Franck Verrot
Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: snapshot too old, configured by time
Следующее
От: YUriy Zhuravlev
Дата:
Сообщение: Re: Move PinBuffer and UnpinBuffer to atomics