File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/backend/access/transam Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ For example, consider the following sequence of user commands:
59
59
In the main processing loop, this results in the following function call
60
60
sequence:
61
61
62
- / StartTransactionCommand;
62
+ / StartTransactionCommand; // TBLOCK_DEFAULT -> TBLOCK_STARTED
63
63
/ StartTransaction;
64
64
1) < ProcessUtility; << BEGIN
65
- \ BeginTransactionBlock;
66
- \ CommitTransactionCommand;
65
+ \ BeginTransactionBlock; // TBLOCK_STARTED -> TBLOCK_BEGIN
66
+ \ CommitTransactionCommand; // TBLOCK_BEGIN -> TBLOCK_INPROGRESS
67
67
68
68
/ StartTransactionCommand;
69
69
2) / PortalRunSelect; << SELECT ...
@@ -77,8 +77,8 @@ sequence:
77
77
78
78
/ StartTransactionCommand;
79
79
/ ProcessUtility; << COMMIT
80
- 4) < EndTransactionBlock;
81
- \ CommitTransactionCommand;
80
+ 4) < EndTransactionBlock; // TBLOCK_INPROGRESS -> TBLOCK_END
81
+ \ CommitTransactionCommand; // TBLOCK_END -> TBLOCK_DEFAULT
82
82
\ CommitTransaction;
83
83
84
84
The point of this example is to demonstrate the need for
You can’t perform that action at this time.
0 commit comments