> On Dec 9, 2024, at 03:02, Lars Aksel Opsahl <lars.ops...@nibio.no> wrote: > If there were a way to remove dead rows without requiring a commit from > totally unrelated jobs, it would be much easier. Without seeing into the future, PostgreSQL doesn't know if a particular open transaction is "totally unrelated" to any other open transaction. Any open transaction can potentially see rows that have been deleted or updated since it began, and without knowing what operations are coming, it doesn't know if it is safe to remove them. (Strictly speaking, the rows you are describing are not "dead," in that they are still visible to some transaction.)
- PostgreSQL and a Catch-22 Issue related to dead row... Lars Aksel Opsahl
- Re: PostgreSQL and a Catch-22 Issue related to... michael...@sqlexec.com
- Re: PostgreSQL and a Catch-22 Issue relate... Lars Aksel Opsahl
- Re: PostgreSQL and a Catch-22 Issue related to... Greg Sabino Mullane
- Re: PostgreSQL and a Catch-22 Issue relate... Lars Aksel Opsahl
- Re: PostgreSQL and a Catch-22 Issue related to... Rick Otten
- Re: PostgreSQL and a Catch-22 Issue relate... Lars Aksel Opsahl
- Re: PostgreSQL and a Catch-22 Issue related to... Christophe Pettus
- Re: PostgreSQL and a Catch-22 Issue relate... Tom Lane
- Re: PostgreSQL and a Catch-22 Issue re... Lars Aksel Opsahl
- Re: PostgreSQL and a Catch-22 Issue re... Lars Aksel Opsahl
- Re: PostgreSQL and a Catch-22 Issu... Greg Sabino Mullane
- Re: PostgreSQL and a Catch-22... Lars Aksel Opsahl
- Re: PostgreSQL and a Catc... Greg Sabino Mullane
- Re: PostgreSQL and a ... Hannu Krosing
- Re: PostgreSQL and a ... Lars Aksel Opsahl
- Re: PostgreSQL and a ... Lars Aksel Opsahl