PostgreSQL's MVCC snapshot infrastructure — src/backend/utils/time/snapmgr.c — GetTransactionSnapshot / GetLatestSnapshot / PushActiveSnapshot / RegisterSnapshot and the tuple-visibility machinery in heapamvisibility.c. Covers the ActiveSnapshot stack, RegisteredSnapshots heap, snapshot export for parallel workers, historic snapshots for logical decoding, and the interaction with xmin horizon. Loads when the user asks about Snapshot semantics, MVCC visibility (HeapTupleSatisfiesMVCC), catalog snapshots vs transaction snapshots, isolation levels, exported snapshots for pgdump, or SET LOCAL transactionisolation. Skip when the ask is about xact.c commit/abort mechanics or about xid horizons for freezing (see vacuum-autovacuum).
Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI
Supported by the Atlas install prompt. Skill-specific requirements vary.
Skill stats
Skills1CategoryEngineeringStars0
About this skill
PostgreSQL's MVCC snapshot infrastructure — src/backend/utils/time/snapmgr.c — GetTransactionSnapshot / GetLatestSnapshot / PushActiveSnapshot / RegisterSnapshot and the tuple-visibility machinery in heapamvisibility.c. Covers the ActiveSnapshot stack, RegisteredSnapshots heap, snapshot export for parallel workers, historic snapshots for logical decoding, and the interaction with xmin horizon. Loads when the user asks about Snapshot semantics, MVCC visibility (HeapTupleSatisfiesMVCC), catalog snapshots vs transaction snapshots, isolation levels, exported snapshots for pgdump, or SET LOCAL transactionisolation. Skip when the ask is about xact.c commit/abort mechanics or about xid horizons for freezing (see vacuum-autovacuum).
Quick start
Copy the install prompt. Use the green button above this README.
Send it to your agent. Paste it into your coding agent’s chat and send.
Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
PostgreSQL's MVCC snapshot infrastructure — `src/backend/utils/time/snapmgr.c` — `GetTransactionSnapshot` / `GetLatestSnapshot` / `PushActiveSnapshot` / `RegisterSnapshot` and the tuple-visibility machinery in `heapam_visibility.c`. Covers the ActiveSnapshot stack, RegisteredSnapshots heap, snapshot export for parallel workers, historic snapshots for logical decoding, and the interaction with xmin horizon. Loads when the user asks about `Snapshot` semantics, MVCC visibility (`HeapTupleSatisfiesMVCC`), catalog snapshots vs transaction snapshots, isolation levels, exported snapshots for pg_dump, or `SET LOCAL transaction_isolation`. Skip when the ask is about xact.c commit/abort mechanics or about xid horizons for freezing (see `vacuum-autovacuum`).
About this listing
Category
Engineering
Reported license
PostgreSQL
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.