Re: Mention column name in error messages

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Mention column name in error messages
Дата
Msg-id CAB7nPqS_CEyJzYM+Bi64hJzT6dEPCdKLuArnQBi9hst5Gv_hsw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Mention column name in error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Nov 5, 2016 at 4:15 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> The callback is "live" the instant you assign to error_context_stack;
> any data it depends on had better be valid before that.  In this case
> you're effectively depending on the assumption that
> RelationGetRelationName can't throw an error.

Argh, that's obvious. Thanks for the notice.
-- 
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Password identifiers, protocol aging and SCRAM protocol
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [COMMITTERS] pgsql: pg_xlogdump: Add NLS