-
+
Data Types
-
-
Transaction Snapshot Type
-
-
-
-
- The data type txid_snapshot stores info about transaction ID
- visibility at a particular moment in time. The components are
- described in .
-
-
-
-
Snapshot components
-
-
- |
- Name
- Query Function
- Description
-
-
-
-
-
- |
- xmin
- txid_snapshot_xmin()
-
- Earliest transaction ID that is still active. All earlier
- transactions will either be committed and visible, or rolled
- back and dead.
-
-
-
- |
- xmax
- txid_snapshot_xmax()
-
- Next unassigned txid. All txids later than this one are
- unassigned, and thus invisible.
-
-
-
- |
- xip_list
- txid_snapshot_xip()
-
- Active txids at the time of snapshot. All of them are between
- xmin and xmax. A txid that is xmin <= txid <
- xmax and not in this list is visible.
-
-
-
-
-
-
-
- Snapshot's textual representation is [xmin]:[xmax]:[xip_list]
- for example 10:20:10,14,15 means
- xmin=10 xmax=20 xip_list=10,14,15.
-
-
- Functions for getting and querying transaction ids and snapshots are
- described in .
-
-
-