diff options
| author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-05-20 16:18:11 +0300 |
|---|---|---|
| committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-05-20 16:56:22 +0300 |
| commit | 4fc72cc7bb9d2105261b8ee45558af50d788cd19 (patch) | |
| tree | 57f1b8dda880693ac01ead8945ad18734e24677f /src/backend/catalog | |
| parent | f6a54fefc299b933052885bb0532c476d382cc71 (diff) | |
| download | postgresql-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 'src/backend/catalog')
| -rw-r--r-- | src/backend/catalog/catalog.c | 2 | ||||
| -rw-r--r-- | src/backend/catalog/storage.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/catalog/catalog.c b/src/backend/catalog/catalog.c index fa2aa27eff..81ccebf3c9 100644 --- a/src/backend/catalog/catalog.c +++ b/src/backend/catalog/catalog.c @@ -117,7 +117,7 @@ IsCatalogClass(Oid relid, Form_pg_class reltuple) * We could instead check whether the relation is pinned in pg_depend, but * this is noticeably cheaper and doesn't require catalog access. * - * This test is safe since even a oid wraparound will preserve this + * This test is safe since even an oid wraparound will preserve this * property (c.f. GetNewObjectId()) and it has the advantage that it works * correctly even if a user decides to create a relation in the pg_catalog * namespace. diff --git a/src/backend/catalog/storage.c b/src/backend/catalog/storage.c index ce398fca89..d4440c9d1d 100644 --- a/src/backend/catalog/storage.c +++ b/src/backend/catalog/storage.c @@ -119,7 +119,7 @@ RelationCreateStorage(RelFileNode rnode, char relpersistence) } /* - * Perform XLogInsert of a XLOG_SMGR_CREATE record to WAL. + * Perform XLogInsert of an XLOG_SMGR_CREATE record to WAL. */ void log_smgrcreate(RelFileNode *rnode, ForkNumber forkNum) |
