aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xact.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2015-05-17 14:57:30 +0200
committerMagnus Hagander <magnus@hagander.net>2015-05-17 14:58:04 +0200
commit3b075e9d7be0181f8434e7b24007d87b618934c0 (patch)
tree34753e942b924aa56eb3cc68c1d42ab0f7a66455 /src/backend/access/transam/xact.c
parent6b665454e38580a72f355dcae37952cf1c82f119 (diff)
downloadpostgresql-3b075e9d7be0181f8434e7b24007d87b618934c0.tar.gz
postgresql-3b075e9d7be0181f8434e7b24007d87b618934c0.zip
Fix typos in comments
Dmitriy Olshevskiy
Diffstat (limited to 'src/backend/access/transam/xact.c')
-rw-r--r--src/backend/access/transam/xact.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c
index a8f78d63762..f6009e07473 100644
--- a/src/backend/access/transam/xact.c
+++ b/src/backend/access/transam/xact.c
@@ -2005,7 +2005,7 @@ CommitTransaction(void)
if (!is_parallel_worker)
{
/*
- * We need to mark our XIDs as commited in pg_clog. This is where we
+ * We need to mark our XIDs as committed in pg_clog. This is where we
* durably commit.
*/
latestXid = RecordTransactionCommit();
@@ -2764,7 +2764,7 @@ CommitTransactionCommand(void)
/*
* Here we are in the middle of a transaction block but one of the
* commands caused an abort so we do nothing but remain in the
- * abort state. Eventually we will get a ROLLBACK comand.
+ * abort state. Eventually we will get a ROLLBACK command.
*/
case TBLOCK_ABORT:
case TBLOCK_SUBABORT: