Re: SKIP LOCKED assert triggered

From: Justin Pryzby <pryzby(at)telsasoft(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>, Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com>, "Bossart, Nathan" <bossartn(at)amazon(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: SKIP LOCKED assert triggered
Date: 2022-01-04 16:55:59
Message-ID: 20220104165559.GB14051@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 04, 2022 at 11:15:30AM -0500, Tom Lane wrote:
> Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> > Pushed, thanks Simon for reporting this problem.
>
> Umm ...
>
> Assert(TM_WouldBlock || !(tuple->t_data->t_infomask & HEAP_XMAX_INVALID));
>
> AFAICS, this assertion condition is constant-true,

The new cfbot was failing like this

https://cirrus-ci.com/github/postgresql-cfbot/postgresql/commitfest/36/3423
https://cirrus-ci.com/build/5839382107127808
[22:52:27.978] heapam.c:4754:24: error: converting the enum constant to a boolean [-Werror,-Wint-in-bool-context]

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Dilger 2022-01-04 17:07:31 Re: CREATEROLE and role ownership hierarchies
Previous Message Bharath Rupireddy 2022-01-04 16:31:42 Re: pg_walinspect - a new extension to get raw WAL data and WAL stats