From fe9ba28ee852bb968bc8948d172c6bc0c70c50df Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 5 Oct 2017 15:05:49 -0400 Subject: [PATCH] Fix typo in README. s/BeginInternalSubtransaction/BeginInternalSubTransaction/ --- src/backend/access/transam/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/access/transam/README b/src/backend/access/transam/README index e7dd19fd7b..ad4083eb6b 100644 --- a/src/backend/access/transam/README +++ b/src/backend/access/transam/README @@ -177,13 +177,13 @@ subtransaction level with the same name. So it's a completely new subtransaction as far as the internals are concerned. Other subsystems are allowed to start "internal" subtransactions, which are -handled by BeginInternalSubtransaction. This is to allow implementing +handled by BeginInternalSubTransaction. This is to allow implementing exception handling, e.g. in PL/pgSQL. ReleaseCurrentSubTransaction and RollbackAndReleaseCurrentSubTransaction allows the subsystem to close said subtransactions. The main difference between this and the savepoint/release path is that we execute the complete state transition immediately in each subroutine, rather than deferring some work until CommitTransactionCommand. -Another difference is that BeginInternalSubtransaction is allowed when no +Another difference is that BeginInternalSubTransaction is allowed when no explicit transaction block has been established, while DefineSavepoint is not.