Skip to content

Commit b2d2b05

Browse files
committed
transam README states
1 parent c6f62e2 commit b2d2b05

File tree

1 file changed

+5
-5
lines changed
  • src/backend/access/transam

1 file changed

+5
-5
lines changed

src/backend/access/transam/README

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ For example, consider the following sequence of user commands:
5959
In the main processing loop, this results in the following function call
6060
sequence:
6161

62-
/ StartTransactionCommand;
62+
/ StartTransactionCommand; // TBLOCK_DEFAULT -> TBLOCK_STARTED
6363
/ StartTransaction;
6464
1) < ProcessUtility; << BEGIN
65-
\ BeginTransactionBlock;
66-
\ CommitTransactionCommand;
65+
\ BeginTransactionBlock; // TBLOCK_STARTED -> TBLOCK_BEGIN
66+
\ CommitTransactionCommand; // TBLOCK_BEGIN -> TBLOCK_INPROGRESS
6767

6868
/ StartTransactionCommand;
6969
2) / PortalRunSelect; << SELECT ...
@@ -77,8 +77,8 @@ sequence:
7777

7878
/ StartTransactionCommand;
7979
/ ProcessUtility; << COMMIT
80-
4) < EndTransactionBlock;
81-
\ CommitTransactionCommand;
80+
4) < EndTransactionBlock; // TBLOCK_INPROGRESS -> TBLOCK_END
81+
\ CommitTransactionCommand; // TBLOCK_END -> TBLOCK_DEFAULT
8282
\ CommitTransaction;
8383

8484
The point of this example is to demonstrate the need for

0 commit comments

Comments
 (0)