Re: SKIP LOCKED assert triggered
Justin Pryzby <pryzby@telsasoft.com>
From: Justin Pryzby <pryzby@telsasoft.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, Simon Riggs <simon.riggs@enterprisedb.com>, "Bossart, Nathan" <bossartn@amazon.com>, pgsql-hackers@postgresql.org
Date: 2022-01-04T16:55:59Z
Lists: pgsql-hackers
On Tue, Jan 04, 2022 at 11:15:30AM -0500, Tom Lane wrote: > Alvaro Herrera <alvherre@alvh.no-ip.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]
Commits
-
Allow special SKIP LOCKED condition in Assert()
- f66885bec0df 15.0 landed
- f185f35a83d9 14.2 landed
- 6b681cd056bb 12.10 landed
- 29f9fb8fe870 13.6 landed
- 28cd57416eb7 11.15 landed
- 026a93727c85 10.20 landed