]> granicus.if.org Git - postgresql/commitdiff
Fix typos in comments
authorMagnus Hagander <magnus@hagander.net>
Sat, 17 Jun 2017 08:17:01 +0000 (10:17 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sat, 17 Jun 2017 08:17:28 +0000 (10:17 +0200)
Author: Daniel Gustafsson <daniel@yesql.se>

src/backend/access/transam/xlogfuncs.c
src/include/lib/simplehash.h
src/include/nodes/execnodes.h

index fb905c0a1cda2b5bc6f35f4a5b4701d07bbe877f..c46325dfaf261979efc50ff2f2860e5ae35a243e 100644 (file)
@@ -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.
  *
index 47dd0bc4eefd594a0967cfbfcb16bab77ce4e979..56b261d8ea9d8cc886b5598808c80ae6b9493004 100644 (file)
@@ -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
index d33392f3b55341d7d85f91ad2f3835add95f0af4..9c0852853afac299930b29f74178e83454214f0c 100644 (file)
@@ -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