]> granicus.if.org Git - postgresql/commitdiff
Minor improvements to transaction manager README.
authorRobert Haas <rhaas@postgresql.org>
Fri, 4 Mar 2016 19:12:28 +0000 (14:12 -0500)
committerRobert Haas <rhaas@postgresql.org>
Fri, 4 Mar 2016 19:12:28 +0000 (14:12 -0500)
A simple SELECT is handled by PortalRunSelect, not ProcessQuery.  Also,
the previous indentation was unclear: change it so that a deeper level
of indentation indicates that the outer function calls the inner one.

Stas Kelvich

src/backend/access/transam/README

index 2de048933e2a010a3d65724e34cf170465e7fa09..07efebc5c53b0a2823394e69bd3112fa187a425b 100644 (file)
@@ -61,23 +61,23 @@ sequence:
 
      /  StartTransactionCommand;
     /       StartTransaction;
-1) <        ProcessUtility;             << BEGIN
+1) <    ProcessUtility;                 << BEGIN
     \       BeginTransactionBlock;
      \  CommitTransactionCommand;
 
     /   StartTransactionCommand;
-2) /        ProcessQuery;               << SELECT ...
-   \        CommitTransactionCommand;
+2) /    PortalRunSelect;                << SELECT ...
+   \    CommitTransactionCommand;
     \       CommandCounterIncrement;
 
     /   StartTransactionCommand;
-3) /        ProcessQuery;               << INSERT ...
-   \        CommitTransactionCommand;
+3) /    ProcessQuery;                   << INSERT ...
+   \    CommitTransactionCommand;
     \       CommandCounterIncrement;
 
      /  StartTransactionCommand;
     /   ProcessUtility;                 << COMMIT
-4) <            EndTransactionBlock;
+4) <        EndTransactionBlock;
     \   CommitTransactionCommand;
      \      CommitTransaction;