> On Jan 9, 2023, at 2:07 PM, Andres Freund <and...@anarazel.de> wrote: > > The tests encounter the issue today. If you add > Assert(TransactionIdIsValid(ctx->next_xid)); > Assert(FullTransactionIdIsValid(ctx->next_fxid)); > early in FullTransactionIdFromXidAndCtx() it'll be hit in the > amcheck/pg_amcheck tests. Ok, I can confirm that. I find the assertion Assert(epoch != (uint32)-1); a bit simpler to reason about, but either way, I agree it is a bug. Thanks for finding this. — Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
- Re: BUG: Postgres 14 + vacuum_defer_cleanup_age + FO... Michail Nikolaev
- Re: BUG: Postgres 14 + vacuum_defer_cleanup_age... Andres Freund
- Re: BUG: Postgres 14 + vacuum_defer_cleanup_age... Andres Freund
- Re: BUG: Postgres 14 + vacuum_defer_cleanup... Andres Freund
- Re: BUG: Postgres 14 + vacuum_defer_cle... Matthias van de Meent
- Re: BUG: Postgres 14 + vacuum_defer... Andres Freund
- Re: BUG: Postgres 14 + vacuum_... Thomas Munro
- Re: BUG: Postgres 14 + vacuum_... Mark Dilger
- Re: BUG: Postgres 14 + vac... Andres Freund
- Re: BUG: Postgres 14 +... Mark Dilger
- Re: BUG: Postgres 14 + vacuum_... Matthias van de Meent
- Re: BUG: Postgres 14 + vac... Andres Freund
- Re: BUG: Postgres 14 +... Matthias van de Meent
- Re: BUG: Postgres 14 +... Michail Nikolaev
- Re: BUG: Postgres 14 +... Andres Freund
- Re: BUG: Postgres 14 +... Matthias van de Meent
- Re: BUG: Postgres 14 +... Andres Freund
- Re: BUG: Postgres 14 +... Matthias van de Meent
- Re: BUG: Postgres 14 + vacuum_defer_cle... Andres Freund
- Re: BUG: Postgres 14 + vacuum_defer... Michail Nikolaev