Re: Add column name to error description

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add column name to error description
Дата
Msg-id 941921.1741319865@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Add column name to error description  (Erik Wienhold <ewie@ewie.name>)
Список pgsql-hackers
Erik Wienhold <ewie@ewie.name> writes:
> On 2025-03-07 04:05 +0100, Tom Lane wrote:
>> I think the idea of the original coding was to keep those values in
>> registers in the inner loop rather than re-fetching them each time.

> Could be.  But the main reason was to hold the output column type as the
> inner loop repurposed att for the input column.

[ shrug... ]  "git blame" traces this code to my commit 12b1b5d83
of 2004-12-11.  I admit that my memory might be faulty 20 years later,
but that's my impression of what I was thinking.

            regards, tom lane



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