aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-01-26 22:51:56 +0000
committerBruce Momjian <bruce@momjian.us>2004-01-26 22:51:56 +0000
commitf4921e5ca38aac1214854e7226e8bb3291d60485 (patch)
tree5083d30b197f6c7e6a12fa590fb5977dd84a4c68 /src/backend/access
parentaf29187f2e9d327ef2c54f13c9091e41cc8b7428 (diff)
downloadpostgresql-f4921e5ca38aac1214854e7226e8bb3291d60485.tar.gz
postgresql-f4921e5ca38aac1214854e7226e8bb3291d60485.zip
Attached is a patch that fixes some trivial typos and alignment. Please
apply. Alvaro Herrera
Diffstat (limited to 'src/backend/access')
-rw-r--r--src/backend/access/transam/xact.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c
index 56ecf9d2f43..d5f357bc5ff 100644
--- a/src/backend/access/transam/xact.c
+++ b/src/backend/access/transam/xact.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/transam/xact.c,v 1.160 2004/01/09 21:08:46 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xact.c,v 1.161 2004/01/26 22:51:55 momjian Exp $
*
* NOTES
* Transaction aborts can now occur two ways:
@@ -87,7 +87,7 @@
*
* Support for transaction blocks is provided via the functions:
*
- * StartTransactionBlock
+ * BeginTransactionBlock
* CommitTransactionBlock
* AbortTransactionBlock
*
@@ -108,7 +108,7 @@
*
* / StartTransactionCommand();
* 1) / ProcessUtility(); << begin
- * \ StartTransactionBlock();
+ * \ BeginTransactionBlock();
* \ CommitTransactionCommand();
*
* / StartTransactionCommand();
@@ -127,7 +127,7 @@
* The point of this example is to demonstrate the need for
* StartTransactionCommand() and CommitTransactionCommand() to
* be state smart -- they should do nothing in between the calls
- * to StartTransactionBlock() and EndTransactionBlock() and
+ * to BeginTransactionBlock() and EndTransactionBlock() and
* outside these calls they need to do normal start/commit
* processing.
*
@@ -399,7 +399,7 @@ CommandIdIsCurrentCommandId(CommandId cid)
{
TransactionState s = CurrentTransactionState;
- return (cid == s->commandId) ? true : false;
+ return (cid == s->commandId);
}
@@ -860,7 +860,7 @@ StartTransaction(void)
AtStart_Locks();
/*
- * Tell the trigger manager to we're starting a transaction
+ * Tell the trigger manager we're starting a transaction
*/
DeferredTriggerBeginXact();