Re: Make relfile tombstone files conditional on WAL level - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Make relfile tombstone files conditional on WAL level
Date
Msg-id a8393e32-f378-97a5-a3a7-d07d6077757e@iki.fi
Whole thread Raw
Responses Re: Make relfile tombstone files conditional on WAL level
List pgsql-hackers
On 05/03/2021 00:02, Thomas Munro wrote:
> Hi,
> 
> I'm starting a new thread for this patch that originated as a
> side-discussion in [1], to give it its own CF entry in the next cycle.
> This is a WIP with an open question to research: what could actually
> break if we did this?

I don't see a problem.

It would indeed be nice to have some other mechanism to prevent the 
issue with wal_level=minimal, the tombstone files feel hacky and 
complicated. Maybe a new shared memory hash table to track the 
relfilenodes of dropped tables.

- Heikki



pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: when the startup process doesn't
Next
From: Heikki Linnakangas
Date:
Subject: Re: PostmasterIsAlive() in recovery (non-USE_POST_MASTER_DEATH_SIGNAL builds)