summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorPeter Eisentraut2017-03-14 15:38:30 +0000
committerPeter Eisentraut2017-03-14 16:58:39 +0000
commitf97a028d8ee3e7d64a93285707af94b612c47651 (patch)
tree493c190e8470843ca2cd73ac06f86476d5721062 /contrib
parent5ed6fff6b729c3cce55d4abc8f695da93aa40a0d (diff)
Spelling fixes in code comments
From: Josh Soref <jsoref@gmail.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/pgcrypto/crypt-des.c2
-rw-r--r--contrib/spi/timetravel.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgcrypto/crypt-des.c b/contrib/pgcrypto/crypt-des.c
index a4aa4966bf..44a5731dde 100644
--- a/contrib/pgcrypto/crypt-des.c
+++ b/contrib/pgcrypto/crypt-des.c
@@ -416,7 +416,7 @@ des_setkey(const char *key)
&& rawkey1 == old_rawkey1)
{
/*
- * Already setup for this key. This optimisation fails on a zero key
+ * Already setup for this key. This optimization fails on a zero key
* (which is weak and has bad parity anyway) in order to simplify the
* starting conditions.
*/
diff --git a/contrib/spi/timetravel.c b/contrib/spi/timetravel.c
index 2733aa231e..19bf8a892c 100644
--- a/contrib/spi/timetravel.c
+++ b/contrib/spi/timetravel.c
@@ -51,7 +51,7 @@ static EPlan *find_plan(char *ident, EPlan **eplan, int *nplans);
* and stop_date eq INFINITY [ and update_user eq current user ]
* and all other column values as in new tuple, and insert tuple
* with old data and stop_date eq current date
- * ELSE - skip updation of tuple.
+ * ELSE - skip updating of tuple.
* 2. IF a delete affects tuple with stop_date eq INFINITY
* then insert the same tuple with stop_date eq current date
* [ and delete_user eq current user ]