> > The cfbot reports that you have mixed declarations and code > (https://cirrus-ci.com/task/6407449413419008): > > [17:21:26.926] pg_amcheck.c: In function ‘main’: > [17:21:26.926] pg_amcheck.c:634:4: error: ISO C90 forbids mixed > declarations and code [-Werror=declaration-after-statement] > [17:21:26.926] 634 | int vmaj = 0, > [17:21:26.926] | ^~~ >
Corrected this, thanks! Also added more comments on this part of the code. PFA v8 of a patch -- Best regards, Pavel Borisov Postgres Professional: http://postgrespro.com <http://www.postgrespro.com>
v8-0001-Add-option-for-amcheck-and-pg_amcheck-to-check-un.patch
Description: Binary data