On Sat, Mar 2, 2024 at 3:41 AM Nathan Bossart <nathandboss...@gmail.com> wrote: > > > [....] how about we revert > > https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=007693f2a3ac2ac19affcb03ad43cdb36ccff5b5, > > Would you ever see "conflict" as false and "invalidation_reason" as > non-null for a logical slot?
No. Because both conflict and invalidation_reason are decided based on the invalidation reason i.e. value of slot_contents.data.invalidated. IOW, a logical slot that reports conflict as true must have been invalidated. Do you have any thoughts on reverting 007693f and introducing invalidation_reason? -- Bharath Rupireddy PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com