Why must the exporting transaction remain active when importing a snapshot in PostgreSQL?
I'm working with PostgreSQL and using pg_export_snapshot() to create a snapshot in one transaction, which I then import into another transaction using SET TRANSACTION SNAPSHOT. I noticed that PostgreSQL requires the original (exporting) transaction to stay active while the snapshot…