Robert Haas <robertmh...@gmail.com> writes:
> On Thu, Sep 29, 2022 at 10:50 AM Maxim Orlov <orlo...@gmail.com> wrote:
>> In other words, we have 19 attributes. But tupdesc here is constructed for 
>> 18 elements:
>> tupdesc = CreateTemplateTupleDesc(18);

> I think that's a mistake. Thanks for the report.

The assertions in TupleDescInitEntry would have caught that,
if only utils/misc/pg_controldata.c had more than zero test coverage.
Seems like somebody ought to do something about that.

                        regards, tom lane


Reply via email to