You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Immediately WAL-log subtransaction and top-level XID association.
The logical decoding infrastructure needs to know which top-leveltransaction the subxact belongs to, in order to decode all thechanges. Until now that might be delayed until commit, due to thecaching (GPROC_MAX_CACHED_SUBXIDS), preventing features requiringincremental decoding.So we also write the assignment info into WAL immediately, as partof the next WAL record (to minimize overhead) only when wal_level=logical.We can not remove the existing XLOG_XACT_ASSIGNMENT WAL as that isrequired for avoiding overflow in the hot standby snapshot.Bump XLOG_PAGE_MAGIC, since this introduces XLR_BLOCK_ID_TOPLEVEL_XID.Author: Tomas Vondra, Dilip Kumar, Amit KapilaReviewed-by: Amit KapilaTested-by: Neha Sharma and Mahendra Singh ThalorDiscussion:https://postgr.es/m/688b0b7f-2f6c-d827-c27b-216a8e3ea700@2ndquadrant.com