2 ms·
Isn’t keeping a logical slot alive holding a snapshot?
by jtc331 4y ago
Isn’t keeping a logical slot alive holding a snapshot?
- anarazel 4y agoNot normally, no. A real snapshot is held during the initial creation of the logical slot. After that the slot's "catalog xmin" prevents old catalog (but not user table!) row versions from being removed, but that's somewhat different from a snapshot.
- jeltz 4y agoExactly. We had to disable some cron jobs which abuse temporary tables (and functions!) to avoid catalog bloat but there were no long lived snapshots on the master during the upgrade.