Re: BUG: test_ginpostinglist second itemptr check is a no-op due to copy-paste error - Mailing list pgsql-hackers

From John Naylor
Subject Re: BUG: test_ginpostinglist second itemptr check is a no-op due to copy-paste error
Date
Msg-id CANWCAZZbjetZPb8XhCvNRNo8Ji_qaowq1VT4hhyoLiBAGaJo3w@mail.gmail.com
Whole thread Raw
In response to Re: BUG: test_ginpostinglist second itemptr check is a no-op due to copy-paste error  (John Naylor <johncnaylorls@gmail.com>)
List pgsql-hackers
On Tue, Mar 24, 2026 at 8:59 AM John Naylor <johncnaylorls@gmail.com> wrote:
>
> On Tue, Mar 24, 2026 at 8:45 AM Jianghua Yang <yjhjstz@gmail.com> wrote:
> >   The attached patch fixes the second check to compare orig_itemptrs[1]
> >   with decoded_itemptrs[1] and reports (blk, off) as the expected
> >   value in the error message.
>
> Seems right to me, thanks for the patch. I'll take care of this.

This is done. It seems unlikely that this test would need to be
changed in back branches, but I went ahead and backpatched it anyway
just in case.

--
John Naylor
Amazon Web Services



pgsql-hackers by date:

Previous
From: Yugo Nagata
Date:
Subject: Re: Add a berief general comment on BTScanInsertData's nextkey and backward
Next
From: Robert Haas
Date:
Subject: Re: TupleDescAttr bounds checks