From f4921e5ca38aac1214854e7226e8bb3291d60485 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 26 Jan 2004 22:51:56 +0000 Subject: Attached is a patch that fixes some trivial typos and alignment. Please apply. Alvaro Herrera --- src/backend/access/transam/xact.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/backend/access/transam/xact.c') 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(); -- cgit v1.2.3