Hi Miłosz and Sergey!

Thanks a lot for reviewing this patch!

> On 9 Dec 2025, at 23:54, Miłosz Bieniek <[email protected]> wrote:
> 
> Hi,
> Together with Sergey we did a review and found a few things that need fixing:
> 
> - `contrib/amcheck/amcheck--1.5--1.6.sql:14` - missing space after comma

Fixed.

> - `verify_gist.c` should be the second entry in meson.build, not at the end

Fixed.

> - Some function arguments like `(GistCheckState * check_state, GistScanItem * 
> stack)` have extra spaces after the `*` - should be `(GistCheckState 
> *check_state, GistScanItem *stack)`

Fixed.

> - Missing `#include "access/itup.h"` in `verify_common.h`

I do not understand why. Perhaps, optimizing headers would be a good idea. This 
file is not included by any of files that include verify_common.h.

> - Missing test file `007verify_gist_.pl` (not sure if should be created)

I don't think we ever had it for gist.

> - `contrib/amcheck/sql/check_gist.sql` - missing cleanup statement `DROP 
> TABLE toast_bug;`

Fixed.


Thanks!


Best regards, Andrey Borodin.

Attachment: v20251216-0001-Move-normalize-tuple-logic-from-nbtcheck-t.patch
Description: Binary data

Attachment: v20251216-0003-Address-review-comments-by-Mi-osz-and-Serg.patch
Description: Binary data

Attachment: v20251216-0002-Add-gist_index_check-function-to-verify-Gi.patch
Description: Binary data

Reply via email to