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