confusing message in check_tuple

Поиск
Список
Период
Сортировка
От jian he
Тема confusing message in check_tuple
Дата
Msg-id CACJufxFx-25XQV+r23oku7ZnL958P30hyb9cFeYPv6wv7yzCCw@mail.gmail.com
обсуждение исходный текст
Ответы Re: confusing message in check_tuple
Список pgsql-hackers
hi.

in contrib/amcheck/verify_heapam.c, check_tuple
        report_corruption(ctx,
                          psprintf("number of attributes %u exceeds
maximum expected for table %u",
                                   ctx->natts,
                                   RelationGetDescr(ctx->rel)->natts));
i think it should be
        report_corruption(ctx,
                          psprintf("number of attributes %u exceeds
maximum expected for table %u",
                                   ctx->natts,
                                   RelationGetRelid(ctx->rel)));

or we can rephrase it another way, also mentioning
``RelationGetDescr(ctx->rel)->natts``.



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