Re: hot_standby_feedback vs excludeVacuum and snapshots - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: hot_standby_feedback vs excludeVacuum and snapshots
Date
Msg-id CANP8+jJMP0h80YYk32Da96vZ+3V6jqRThPU7nncoFb7kfLVMYg@mail.gmail.com
Whole thread Raw
In response to Re: hot_standby_feedback vs excludeVacuum and snapshots  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 7 June 2018 at 22:19, Andres Freund <andres@anarazel.de> wrote:

> Wonder if the right thing here wouldn't be to instead transiently
> acquire an AEL lock during replay when truncating a relation?

The way AELs are replayed in generic, all AEL requests are handled that way.

So yes, you could invent a special case for this specific situation.

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: why partition pruning doesn't work?
Next
From: Amit Kapila
Date:
Subject: Re: hot_standby_feedback vs excludeVacuum and snapshots