diff options
author | Magnus Hagander <magnus@hagander.net> | 2016-02-01 11:43:48 +0100 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2016-02-01 11:43:48 +0100 |
commit | e51ab85cd95855d541311f204e1e7db2c40301f7 (patch) | |
tree | f2f96f22703118680e6e671f99d32c04facb834b | |
parent | 61ce1e8f154aefa97e9e5d5796f7b36c857efc74 (diff) | |
download | postgresql-e51ab85cd95855d541311f204e1e7db2c40301f7.tar.gz postgresql-e51ab85cd95855d541311f204e1e7db2c40301f7.zip |
Fix typos in comments
Author: Michael Paquier
-rw-r--r-- | contrib/pgcrypto/fortuna.c | 2 | ||||
-rw-r--r-- | src/backend/postmaster/bgwriter.c | 2 | ||||
-rw-r--r-- | src/backend/replication/logical/origin.c | 2 | ||||
-rw-r--r-- | src/backend/replication/logical/snapbuild.c | 2 | ||||
-rw-r--r-- | src/common/pg_lzcompress.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/contrib/pgcrypto/fortuna.c b/contrib/pgcrypto/fortuna.c index 7ab888fb981..50282034796 100644 --- a/contrib/pgcrypto/fortuna.c +++ b/contrib/pgcrypto/fortuna.c @@ -304,7 +304,7 @@ get_rand_pool(FState *st) unsigned rnd; /* - * This slightly prefers lower pools - thats OK. + * This slightly prefers lower pools - that is OK. */ rnd = st->key[st->rnd_pos] % NUM_POOLS; diff --git a/src/backend/postmaster/bgwriter.c b/src/backend/postmaster/bgwriter.c index 010b5fcd328..4ff4caf2321 100644 --- a/src/backend/postmaster/bgwriter.c +++ b/src/backend/postmaster/bgwriter.c @@ -301,7 +301,7 @@ BackgroundWriterMain(void) * check whether there has been any WAL inserted since the last time * we've logged a running xacts. * - * We do this logging in the bgwriter as its the only process thats + * We do this logging in the bgwriter as its the only process that is * run regularly and returns to its mainloop all the time. E.g. * Checkpointer, when active, is barely ever in its mainloop and thus * makes it hard to log regularly. diff --git a/src/backend/replication/logical/origin.c b/src/backend/replication/logical/origin.c index 651f53f6f10..757b50eb10b 100644 --- a/src/backend/replication/logical/origin.c +++ b/src/backend/replication/logical/origin.c @@ -677,7 +677,7 @@ StartupReplicationOrigin(void) errmsg("could not open file \"%s\": %m", path))); - /* verify magic, thats written even if nothing was active */ + /* verify magic, that is written even if nothing was active */ readBytes = read(fd, &magic, sizeof(magic)); if (readBytes != sizeof(magic)) ereport(PANIC, diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c index 97c1ad43d33..ed823ecc2a7 100644 --- a/src/backend/replication/logical/snapbuild.c +++ b/src/backend/replication/logical/snapbuild.c @@ -612,7 +612,7 @@ SnapBuildExportSnapshot(SnapBuild *builder) void SnapBuildClearExportedSnapshot(void) { - /* nothing exported, thats the usual case */ + /* nothing exported, that is the usual case */ if (!ExportInProgress) return; diff --git a/src/common/pg_lzcompress.c b/src/common/pg_lzcompress.c index 57504778f5c..985841de29f 100644 --- a/src/common/pg_lzcompress.c +++ b/src/common/pg_lzcompress.c @@ -153,7 +153,7 @@ * to be coded into a tag. * * Finally the match algorithm checks that at least a match - * of 3 or more bytes has been found, because thats the smallest + * of 3 or more bytes has been found, because that is the smallest * amount of copy information to code into a tag. If so, a tag * is omitted and all the input bytes covered by that are just * scanned for the history add's, otherwise a literal character |