Andrey Borodin <x4mmm(at)yandex-team(dot)ru> writes:
> Could we add a regression test?
-1 ... I think the engineering, maintenance, and runtime cost of a
test like this would never pay for itself. The thing you would wish
that a regression test could catch is adding a new TOC field that is
effectively required while failing to use ReadRequiredStr for it.
Which a test like this wouldn't.
regards, tom lane