Re: A wrong comment about search_indexed_tlist_for_var

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: A wrong comment about search_indexed_tlist_for_var
Date: 2023-12-04 08:42:02
Message-ID: CAMbWs49HGa0F1JA1xmuFYt87OJ1QQjGZjmGJ0PtRmL_t0UPTmw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Dec 2, 2023 at 2:27 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> > On 2023-Dec-01, Richard Guo wrote:
> >> However, this cross-check will also be performed in non-debug builds
> >> ever since commit 867be9c07, which converts this check from Asserts to
> >> test-and-elog. The commit message there also says:
> >> Committed separately with the idea that eventually we'll revert
> >> this. It might be awhile though.
> >> I wonder if now is the time to revert it, since there have been no
> >> related bugs reported for quite a while.
>
> > I don't know anything about this, but maybe it would be better to let
> > these elogs there for longer, so that users have time to upgrade and
> > test.
>
> Yeah. It's good that we've not had field reports against 16.0 or 16.1,
> but we can't really expect that 16.x has seen widespread adoption yet.
> I do think we should revert this eventually, but I'd wait perhaps
> another year.

Then here is a trivial patch to adjust the comment, which should get
reverted along with 867be9c07.

Thanks
Richard

Attachment Content-Type Size
v1-0001-Fix-comment-about-cross-checking-the-varnullingrels.patch application/octet-stream 1.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Krishnakumar R 2023-12-04 09:07:22 Re: Add missing error codes to PANIC/FATAL error reports in xlogrecovery
Previous Message Nikita Malakhov 2023-12-04 08:40:51 Re: Avoid detoast overhead when possible