Re: Add column name to error description - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Add column name to error description
Date
Msg-id 941921.1741319865@sss.pgh.pa.us
Whole thread Raw
In response to Re: Add column name to error description  (Erik Wienhold <ewie@ewie.name>)
List 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 by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Separate GUC for replication origins
Next
From: John Naylor
Date:
Subject: Re: Doc fix of aggressive vacuum threshold for multixact members storage