aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2017-06-17 10:17:01 +0200
committerMagnus Hagander <magnus@hagander.net>2017-06-17 10:17:28 +0200
commitbb1f8f9e5bb13af43ab65faa98ae898a68995070 (patch)
treef97596080dea015979c9d849f7140aa41a8e95b9 /src
parente42645ad92687a2250ad17e1a045da73e54a5064 (diff)
downloadpostgresql-bb1f8f9e5bb13af43ab65faa98ae898a68995070.tar.gz
postgresql-bb1f8f9e5bb13af43ab65faa98ae898a68995070.zip
Fix typos in comments
Author: Daniel Gustafsson <daniel@yesql.se>
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/xlogfuncs.c2
-rw-r--r--src/include/lib/simplehash.h2
-rw-r--r--src/include/nodes/execnodes.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/transam/xlogfuncs.c b/src/backend/access/transam/xlogfuncs.c
index fb905c0a1cd..c46325dfaf2 100644
--- a/src/backend/access/transam/xlogfuncs.c
+++ b/src/backend/access/transam/xlogfuncs.c
@@ -175,7 +175,7 @@ pg_stop_backup(PG_FUNCTION_ARGS)
* The first parameter (variable 'exclusive') allows the user to tell us if
* this is an exclusive or a non-exclusive backup.
*
- * The second paramter (variable 'waitforarchive'), which is optional,
+ * The second parameter (variable 'waitforarchive'), which is optional,
* allows the user to choose if they want to wait for the WAL to be archived
* or if we should just return as soon as the WAL record is written.
*
diff --git a/src/include/lib/simplehash.h b/src/include/lib/simplehash.h
index 47dd0bc4eef..56b261d8ea9 100644
--- a/src/include/lib/simplehash.h
+++ b/src/include/lib/simplehash.h
@@ -902,7 +902,7 @@ SH_STAT(SH_TYPE * tb)
#endif /* SH_DEFINE */
-/* undefine external paramters, so next hash table can be defined */
+/* undefine external parameters, so next hash table can be defined */
#undef SH_PREFIX
#undef SH_KEY_TYPE
#undef SH_KEY
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h
index d33392f3b55..9c0852853af 100644
--- a/src/include/nodes/execnodes.h
+++ b/src/include/nodes/execnodes.h
@@ -569,7 +569,7 @@ typedef struct TupleHashEntryData
uint32 hash; /* hash value (cached) */
} TupleHashEntryData;
-/* define paramters necessary to generate the tuple hash table interface */
+/* define parameters necessary to generate the tuple hash table interface */
#define SH_PREFIX tuplehash
#define SH_ELEMENT_TYPE TupleHashEntryData
#define SH_KEY_TYPE MinimalTuple