From 6fcde8a5c80e46e9e92f50f62093cba5899312fd Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 4 Mar 2016 14:12:28 -0500 Subject: [PATCH] Minor improvements to transaction manager README. 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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/backend/access/transam/README b/src/backend/access/transam/README index 2de048933e..07efebc5c5 100644 --- a/src/backend/access/transam/README +++ b/src/backend/access/transam/README @@ -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; -- 2.40.0