summaryrefslogtreecommitdiff
path: root/contrib/spi
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-05-20 16:18:11 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-05-20 16:56:22 +0300
commit4fc72cc7bb9d2105261b8ee45558af50d788cd19 (patch)
tree57f1b8dda880693ac01ead8945ad18734e24677f /contrib/spi
parentf6a54fefc299b933052885bb0532c476d382cc71 (diff)
downloadpostgresql-4fc72cc7bb9d2105261b8ee45558af50d788cd19.tar.gz
Collection of typo fixes.
Use "a" and "an" correctly, mostly in comments. Two error messages were also fixed (they were just elogs, so no translation work required). Two function comments in pg_proc.h were also fixed. Etsuro Fujita reported one of these, but I found a lot more with grep. Also fix a few other typos spotted while grepping for the a/an typos. For example, "consists out of ..." -> "consists of ...". Plus a "though"/ "through" mixup reported by Euler Taveira. Many of these typos were in old code, which would be nice to backpatch to make future backpatching easier. But much of the code was new, and I didn't feel like crafting separate patches for each branch. So no backpatching.
Diffstat (limited to 'contrib/spi')
-rw-r--r--contrib/spi/timetravel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/spi/timetravel.c b/contrib/spi/timetravel.c
index e125986c2b..5a345841c6 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 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.
- * 2. IF an delete affects tuple with stop_date eq INFINITY
+ * 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 ]
* ELSE - skip deletion of tuple.